Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001665/0.001665, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4569, allocations: 140.4 MB / 0.949 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001636/0.4585, allocations: 1.453 MB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.4607, allocations: 2.918 MB / 0.9533 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.4608, allocations: 0 / 0.9533 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.4608, allocations: 7.922 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.4609, allocations: 34.03 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.4612, allocations: 164.7 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.4615, allocations: 330.5 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.711e-05/0.4615, allocations: 3.781 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.4616, allocations: 88.61 kB / 0.9539 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.4617, allocations: 141.2 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.4617, allocations: 10.78 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.462, allocations: 151.5 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.4621, allocations: 89.47 kB / 0.9543 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.4621, allocations: 87.23 kB / 0.9544 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.4624, allocations: 276.5 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.4624, allocations: 0 / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4624, allocations: 1.281 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.4624, allocations: 0 / 0.9546 GB, free: 4.871 MB / 0.7169 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.0005449/0.463, allocations: 0.529 MB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.463, allocations: 9.031 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.463, allocations: 52.73 kB / 0.9552 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.4631, allocations: 22.08 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4633, allocations: 240.6 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.4633, allocations: 28.2 kB / 0.9555 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.4633, allocations: 17.75 kB / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.4638, allocations: 285.9 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.4638, allocations: 0 / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.4639, allocations: 13.39 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4639, allocations: 8.531 kB / 0.9558 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.4649, allocations: 0.7455 MB / 0.9565 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.4652, allocations: 309.9 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.4664, allocations: 0.6785 MB / 0.9575 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.4668, allocations: 231.3 kB / 0.9577 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.467, allocations: 390 kB / 0.9581 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.4671, allocations: 37.02 kB / 0.9581 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.4671, allocations: 4 kB / 0.9581 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001251/0.4683, allocations: 0.648 MB / 0.9587 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.641e-05/0.4684, allocations: 55.59 kB / 0.9588 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.4684, allocations: 128.2 kB / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4684, allocations: 35.11 kB / 0.9589 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.4685, allocations: 87.33 kB / 0.959 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.4685, allocations: 129.5 kB / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-05/0.4686, allocations: 64.75 kB / 0.9592 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.673e-05/0.4686, allocations: 331.8 kB / 0.9595 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.469, allocations: 187.7 kB / 0.9597 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.4694, allocations: 202.2 kB / 0.9599 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.4701, allocations: 366.2 kB / 0.9603 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4701, allocations: 5.094 kB / 0.9603 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000818/0.4709, allocations: 470.7 kB / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.4709, allocations: 5.906 kB / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4709, allocations: 0 / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.4709, allocations: 1.281 kB / 0.9607 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.4712, allocations: 96.92 kB / 0.9608 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4712, allocations: 9.109 kB / 0.9608 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4714, allocations: 45.72 kB / 0.9609 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.4714, allocations: 16.11 kB / 0.9609 GB, free: 0.7656 MB / 0.7169 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 7.747e-05/0.4715, allocations: 140.3 kB / 0.961 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.4715, allocations: 23.94 kB / 0.961 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009039/0.4725, allocations: 0.509 MB / 0.9615 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4725, allocations: 8.625 kB / 0.9615 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4725, allocations: 0 / 0.9615 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4725, allocations: 1.344 kB / 0.9615 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.4727, allocations: 313.5 kB / 0.9618 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.4727, allocations: 7.875 kB / 0.9618 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.473, allocations: 92.28 kB / 0.9619 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.473, allocations: 1.312 kB / 0.9619 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.473, allocations: 12.3 kB / 0.9619 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.473, allocations: 12.72 kB / 0.962 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.473, allocations: 0.9688 kB / 0.962 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.474, allocations: 0.4981 MB / 0.9624 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.474, allocations: 98.42 kB / 0.9625 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.4741, allocations: 5.625 kB / 0.9625 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.4742, allocations: 35.73 kB / 0.9626 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.4744, allocations: 115.2 kB / 0.9627 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.4744, allocations: 16.72 kB / 0.9627 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.4745, allocations: 100.4 kB / 0.9628 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4745, allocations: 0 / 0.9628 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003059/0.4748, allocations: 117.2 kB / 0.9629 GB, free: 15.46 MB / 0.7325 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.001285/0.4761, allocations: 1.123 MB / 0.964 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008727/0.477, allocations: 470.6 kB / 0.9645 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.477, allocations: 4 kB / 0.9645 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.4774, allocations: 255.6 kB / 0.9647 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4778, allocations: 73.73 kB / 0.9648 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.4811, allocations: 2.722 MB / 0.9674 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.4813, allocations: 0.7311 MB / 0.9681 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000365/0.4817, allocations: 182.5 kB / 0.9683 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4818, allocations: 62.02 kB / 0.9684 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of SimCode: time 1.71e-07/0.4818, allocations: 0 / 0.9684 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.393/2.874, allocations: 6.871 MB / 0.9751 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004692/2.875, allocations: 209.7 kB / 0.9753 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/5.521, allocations: 0 / 0.9753 GB, free: 6.777 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches