Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.000858/0.0008579, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005307/0.005307, allocations: 168.9 kB / 16.26 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.161/2.161, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003048, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5837, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003703/0.5875, allocations: 3.735 MB / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.5897, allocations: 2.418 MB / 0.9612 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.5898, allocations: 0.75 kB / 0.9612 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.59, allocations: 42.33 kB / 0.9612 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.5903, allocations: 91.91 kB / 0.9613 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.5913, allocations: 490.1 kB / 0.9618 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.5916, allocations: 334.2 kB / 0.9621 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.5916, allocations: 12.33 kB / 0.9621 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.5918, allocations: 106.1 kB / 0.9622 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.5919, allocations: 97.98 kB / 0.9623 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.592, allocations: 10.88 kB / 0.9623 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006437/0.5926, allocations: 463.4 kB / 0.9628 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.5927, allocations: 42.08 kB / 0.9628 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.5928, allocations: 107.5 kB / 0.9629 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.5933, allocations: 404.2 kB / 0.9633 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5933, allocations: 1.031 kB / 0.9633 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5933, allocations: 0 / 0.9633 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.5933, allocations: 0 / 0.9633 GB, free: 1.398 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005485/0.5938, allocations: 488.2 kB / 0.9637 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5939, allocations: 13.16 kB / 0.9638 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.5939, allocations: 48.95 kB / 0.9638 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.5958, allocations: 183 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.5959, allocations: 213.3 kB / 0.9642 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.596, allocations: 15.67 kB / 0.9642 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.596, allocations: 18.62 kB / 0.9642 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.5966, allocations: 314.4 kB / 0.9645 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5966, allocations: 1.125 kB / 0.9645 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.5966, allocations: 10.62 kB / 0.9645 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.5966, allocations: 6.125 kB / 0.9645 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006405/0.5973, allocations: 266.8 kB / 0.9648 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.5987, allocations: 1.384 MB / 0.9661 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.5993, allocations: 186.8 kB / 0.9663 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.5996, allocations: 83.53 kB / 0.9664 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.5996, allocations: 3.984 kB / 0.9664 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.5996, allocations: 38.22 kB / 0.9664 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.585e-06/0.5996, allocations: 0 / 0.9664 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007134/0.6003, allocations: 243.5 kB / 0.9667 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.6004, allocations: 57.28 kB / 0.9667 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.6005, allocations: 162.1 kB / 0.9669 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.6006, allocations: 27.73 kB / 0.9669 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.6006, allocations: 126.8 kB / 0.967 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.6007, allocations: 62.19 kB / 0.9671 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.6007, allocations: 24.17 kB / 0.9671 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.6008, allocations: 334.9 kB / 0.9674 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.601, allocations: 67.66 kB / 0.9675 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.6013, allocations: 146 kB / 0.9676 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.6018, allocations: 212.7 kB / 0.9678 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6018, allocations: 0 / 0.9678 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005715/0.6024, allocations: 256.9 kB / 0.9681 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.6024, allocations: 6.125 kB / 0.9681 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6024, allocations: 1.969 kB / 0.9681 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.6024, allocations: 4 kB / 0.9681 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.6028, allocations: 66.52 kB / 0.9682 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6028, allocations: 4.156 kB / 0.9682 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.603, allocations: 32.23 kB / 0.9682 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.603, allocations: 13.25 kB / 0.9682 GB, free: 13.18 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.000109/0.6032, allocations: 132.7 kB / 0.9683 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.6032, allocations: 16.19 kB / 0.9683 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.6038, allocations: 232 kB / 0.9686 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6038, allocations: 2.25 kB / 0.9686 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6039, allocations: 4.656 kB / 0.9686 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6039, allocations: 3.984 kB / 0.9686 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.6041, allocations: 244.2 kB / 0.9688 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6041, allocations: 0.7812 kB / 0.9688 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.6044, allocations: 46.52 kB / 0.9689 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6044, allocations: 1.125 kB / 0.9689 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.6045, allocations: 5.156 kB / 0.9689 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.6045, allocations: 4.938 kB / 0.9689 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6045, allocations: 0.9688 kB / 0.9689 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.605, allocations: 300.2 kB / 0.9691 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.6051, allocations: 109.2 kB / 0.9693 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.6051, allocations: 1 kB / 0.9693 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.6054, allocations: 24.58 kB / 0.9693 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.6055, allocations: 17.2 kB / 0.9693 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.6055, allocations: 9.859 kB / 0.9693 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.596e-05/0.6056, allocations: 122.9 kB / 0.9694 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.6056, allocations: 0 / 0.9694 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003517/0.6059, allocations: 60.06 kB / 0.9695 GB, free: 12.15 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 (20): * Single equations (assignments): 20 * 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.0008445/0.6068, allocations: 0.8706 MB / 0.9703 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.6073, allocations: 183.3 kB / 0.9705 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6073, allocations: 1.125 kB / 0.9705 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.6075, allocations: 90.55 kB / 0.9706 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.608, allocations: 50.61 kB / 0.9706 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.6109, allocations: 2.25 MB / 0.9728 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.6111, allocations: 0.7185 MB / 0.9735 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003579/0.6115, allocations: 52.48 kB / 0.9736 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.6116, allocations: 48.69 kB / 0.9736 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.6116, allocations: 0 / 0.9736 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.302/1.914, allocations: 4.816 MB / 0.9783 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/1.914, allocations: 236.1 kB / 0.9786 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/3.557, allocations: 1.562 kB / 0.9786 GB, free: 6.023 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches