Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007022/0.007022, allocations: 96.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 193.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.287/2.287, allocations: 437.1 MB / 0.7106 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 75.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2397, allocations: 151.6 MB / 1.166 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002088/0.2418, allocations: 1.383 MB / 1.168 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.2451, allocations: 2.909 MB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.2451, allocations: 3.938 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.081e-05/0.2452, allocations: 11.92 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.2453, allocations: 39.81 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.2457, allocations: 175.2 kB / 1.171 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.246, allocations: 247.5 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.246, allocations: 4 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.2461, allocations: 95.84 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.2463, allocations: 123.7 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.2463, allocations: 8 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.2466, allocations: 143.8 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.2467, allocations: 83.77 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.2468, allocations: 95.62 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2472, allocations: 279.3 kB / 1.172 GB, free: 1.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2472, allocations: 3.984 kB / 1.172 GB, free: 1.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2472, allocations: 0 / 1.172 GB, free: 1.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2472, allocations: 0 / 1.172 GB, free: 1.715 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007445/0.2479, allocations: 0.5258 MB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.248, allocations: 8.031 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.248, allocations: 50.73 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.667e-05/0.2481, allocations: 24.73 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2483, allocations: 240.1 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.2484, allocations: 24.36 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2484, allocations: 12.38 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.249, allocations: 297.1 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.249, allocations: 0 / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.2491, allocations: 7.938 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2491, allocations: 4 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.2504, allocations: 0.7452 MB / 1.174 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.2508, allocations: 313.1 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.2523, allocations: 0.6761 MB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.2528, allocations: 232.4 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/0.2532, allocations: 396.3 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2532, allocations: 34.56 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.312e-06/0.2532, allocations: 0 / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001537/0.2548, allocations: 0.6537 MB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.2548, allocations: 55.41 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.2549, allocations: 126.1 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.255, allocations: 29.7 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.255, allocations: 92.78 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2551, allocations: 134.9 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.2552, allocations: 65.61 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2553, allocations: 338.8 kB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.2558, allocations: 187.8 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.2563, allocations: 201.1 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008438/0.2571, allocations: 368.6 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2571, allocations: 4 kB / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001022/0.2582, allocations: 468.4 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2582, allocations: 9.875 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2582, allocations: 0 / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.2582, allocations: 0 / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.2585, allocations: 99.84 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2585, allocations: 4 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.2587, allocations: 51.8 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.2587, allocations: 8 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.2589, allocations: 149.7 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.2589, allocations: 19.84 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.26, allocations: 0.5102 MB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2601, allocations: 7.938 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2601, allocations: 0 / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2601, allocations: 7.984 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.2604, allocations: 317.3 kB / 1.179 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2604, allocations: 3.938 kB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.2607, allocations: 95.86 kB / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2607, allocations: 0 / 1.179 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2607, allocations: 11.98 kB / 1.179 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2607, allocations: 4 kB / 1.179 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2607, allocations: 0 / 1.179 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2618, allocations: 0.4966 MB / 1.179 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.2618, allocations: 100.9 kB / 1.18 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.2619, allocations: 4 kB / 1.18 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.2621, allocations: 35.95 kB / 1.18 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.2623, allocations: 119.8 kB / 1.18 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.2623, allocations: 11.98 kB / 1.18 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.163e-05/0.2623, allocations: 102.8 kB / 1.18 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2624, allocations: 4 kB / 1.18 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002997/0.2627, allocations: 123.7 kB / 1.18 GB, free: 8.793 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.2641, allocations: 1.117 MB / 1.181 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.2652, allocations: 479.6 kB / 1.181 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2652, allocations: 3.938 kB / 1.181 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.2657, allocations: 255.7 kB / 1.182 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.266, allocations: 87.84 kB / 1.182 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.2698, allocations: 2.681 MB / 1.184 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.2702, allocations: 0.7365 MB / 1.185 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003477/0.2705, allocations: 177.3 kB / 1.185 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2706, allocations: 67.39 kB / 1.185 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2707, allocations: 0 / 1.185 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.309/8.58, allocations: 7.432 MB / 1.193 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.958/18.54, allocations: 18.97 kB / 1.193 GB, free: 11.8 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches