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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008519/0.008519, allocations: 101.4 kB / 15.73 MB, free: 6.031 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.002058/0.002058, allocations: 197 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 66.92 kB / 0.9505 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3299, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.0068/0.3368, allocations: 4.055 MB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.3401, allocations: 2.43 MB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3403, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.3407, allocations: 47.67 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.3413, allocations: 103.3 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.3432, allocations: 0.5182 MB / 1.095 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005323/0.3438, allocations: 255.9 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.3438, allocations: 5.562 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.3443, allocations: 119.5 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.3445, allocations: 95.66 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.3446, allocations: 8 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.3458, allocations: 459.2 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3459, allocations: 39.89 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.346, allocations: 79.64 kB / 1.096 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3472, allocations: 410.7 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.3472, allocations: 7.938 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3472, allocations: 3.938 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3472, allocations: 0 / 1.096 GB, free: 9.32 MB / 0.8575 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.00105/0.3483, allocations: 0.5109 MB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.3483, allocations: 8.031 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.49e-05/0.3484, allocations: 50.73 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.3504, allocations: 180.5 kB / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.3508, allocations: 204.2 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.3509, allocations: 12.69 kB / 1.097 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.3509, allocations: 16.38 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.3517, allocations: 308.2 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3517, allocations: 4 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.3517, allocations: 4 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.3518, allocations: 8 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.3526, allocations: 264 kB / 1.097 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.3545, allocations: 1.392 MB / 1.099 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.3552, allocations: 195.2 kB / 1.099 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.3555, allocations: 80.81 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.3555, allocations: 7.984 kB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.3556, allocations: 34.56 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.3556, allocations: 0 / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0008836/0.3565, allocations: 242.6 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3565, allocations: 55.34 kB / 1.099 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3567, allocations: 164.8 kB / 1.1 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3567, allocations: 25.7 kB / 1.1 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.3569, allocations: 136 kB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.3569, allocations: 59.11 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.357, allocations: 49.92 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3572, allocations: 330.8 kB / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.3574, allocations: 68.42 kB / 1.1 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.3577, allocations: 134.3 kB / 1.1 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.3582, allocations: 219.5 kB / 1.101 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3582, allocations: 0 / 1.101 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006787/0.3589, allocations: 253.1 kB / 1.101 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3589, allocations: 9.719 kB / 1.101 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.3589, allocations: 0 / 1.101 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3589, allocations: 4 kB / 1.101 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.3593, allocations: 68.2 kB / 1.101 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3593, allocations: 11.92 kB / 1.101 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3596, allocations: 35.69 kB / 1.101 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.3596, allocations: 11.98 kB / 1.101 GB, free: 3.836 MB / 0.8575 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.0001324/0.3597, allocations: 137.7 kB / 1.101 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.3598, allocations: 15.84 kB / 1.101 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/0.3605, allocations: 226.7 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3605, allocations: 4 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3605, allocations: 0 / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3606, allocations: 0 / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.3609, allocations: 249.3 kB / 1.101 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3609, allocations: 0 / 1.101 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.3612, allocations: 47.91 kB / 1.102 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3612, allocations: 0 / 1.102 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.3612, allocations: 7.984 kB / 1.102 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3612, allocations: 0 / 1.102 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3612, allocations: 0 / 1.102 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.3618, allocations: 300.5 kB / 1.102 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.362, allocations: 108.9 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.362, allocations: 0 / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.3623, allocations: 15.98 kB / 1.102 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.3624, allocations: 19.97 kB / 1.102 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.3624, allocations: 8 kB / 1.102 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.125e-05/0.3625, allocations: 121.3 kB / 1.102 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3625, allocations: 3.938 kB / 1.102 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003994/0.3629, allocations: 60.06 kB / 1.102 GB, free: 2.438 MB / 0.8575 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.0009804/0.3639, allocations: 0.8594 MB / 1.103 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005803/0.3645, allocations: 191.7 kB / 1.103 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3645, allocations: 0 / 1.103 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.3647, allocations: 88.52 kB / 1.103 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.3652, allocations: 64.12 kB / 1.103 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.3686, allocations: 2.161 MB / 1.105 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3689, allocations: 0.7212 MB / 1.106 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002688/0.3691, allocations: 49.92 kB / 1.106 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.3693, allocations: 51.41 kB / 1.106 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of SimCode: time 8.81e-07/0.3693, allocations: 0 / 1.106 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.3946, allocations: 5.268 MB / 1.111 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.487, allocations: 7.75 kB / 1.111 GB, free: 8.984 MB / 0.8731 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