Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_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.004904/0.004904, allocations: 96.88 kB / 15.73 MB, free: 6.055 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.00127/0.00127, allocations: 192.1 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.73/2.73, allocations: 469.4 MB / 0.7422 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001913, allocations: 67.89 kB / 1.064 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7408, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005327/0.7462, allocations: 4.049 MB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.7489, allocations: 2.441 MB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.749, allocations: 0 / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.7493, allocations: 47.67 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.7496, allocations: 103.4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.7509, allocations: 0.525 MB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.7513, allocations: 263.8 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.7513, allocations: 17.48 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.7515, allocations: 107.7 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.7517, allocations: 103.6 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.7517, allocations: 8 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000882/0.7526, allocations: 455.3 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.7527, allocations: 43.83 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.709e-05/0.7528, allocations: 79.66 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.7535, allocations: 414.4 kB / 1.228 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7535, allocations: 0 / 1.228 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7535, allocations: 0 / 1.228 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7535, allocations: 0 / 1.228 GB, free: 9.582 MB / 0.9512 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.0007533/0.7543, allocations: 0.5103 MB / 1.229 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7543, allocations: 12.62 kB / 1.229 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.7544, allocations: 50.73 kB / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.7565, allocations: 176.6 kB / 1.229 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.7569, allocations: 212.1 kB / 1.229 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.757, allocations: 16.7 kB / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.757, allocations: 12.38 kB / 1.229 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.7578, allocations: 320.1 kB / 1.229 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7578, allocations: 0 / 1.229 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.7579, allocations: 8 kB / 1.229 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.7579, allocations: 4 kB / 1.229 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000784/0.7587, allocations: 263.6 kB / 1.23 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.7606, allocations: 1.393 MB / 1.231 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.7613, allocations: 184 kB / 1.231 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.7615, allocations: 88.83 kB / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.7615, allocations: 0 / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.7616, allocations: 38.56 kB / 1.231 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 3.857e-06/0.7616, allocations: 0 / 1.231 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0008095/0.7624, allocations: 251.2 kB / 1.232 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.7625, allocations: 55.41 kB / 1.232 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.7626, allocations: 154.2 kB / 1.232 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.7626, allocations: 37.64 kB / 1.232 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.7627, allocations: 132.2 kB / 1.232 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.7628, allocations: 63.45 kB / 1.232 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.7629, allocations: 53.89 kB / 1.232 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.763, allocations: 326.8 kB / 1.232 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.7632, allocations: 68.41 kB / 1.232 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.7635, allocations: 142.2 kB / 1.233 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.764, allocations: 221.3 kB / 1.233 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.764, allocations: 0 / 1.233 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006427/0.7647, allocations: 259.3 kB / 1.233 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.7647, allocations: 4 kB / 1.233 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7647, allocations: 7.984 kB / 1.233 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7647, allocations: 4 kB / 1.233 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.7651, allocations: 60.2 kB / 1.233 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7651, allocations: 8 kB / 1.233 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.7654, allocations: 27.88 kB / 1.233 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.7654, allocations: 12 kB / 1.233 GB, free: 4.082 MB / 0.9512 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.0001248/0.7656, allocations: 137.6 kB / 1.233 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.7656, allocations: 15.91 kB / 1.233 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.7663, allocations: 229 kB / 1.234 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.7663, allocations: 4 kB / 1.234 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.7663, allocations: 4 kB / 1.234 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7663, allocations: 3.984 kB / 1.234 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.7666, allocations: 237.6 kB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7666, allocations: 3.984 kB / 1.234 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.7669, allocations: 43.97 kB / 1.234 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7669, allocations: 3.938 kB / 1.234 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.767, allocations: 8 kB / 1.234 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.767, allocations: 0 / 1.234 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.767, allocations: 4 kB / 1.234 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.7676, allocations: 303.2 kB / 1.234 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.7677, allocations: 104.9 kB / 1.234 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.7677, allocations: 8 kB / 1.234 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.768, allocations: 11.98 kB / 1.234 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.7681, allocations: 15.98 kB / 1.234 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.7681, allocations: 11.98 kB / 1.234 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.259e-05/0.7682, allocations: 113.1 kB / 1.234 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7682, allocations: 0 / 1.234 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003816/0.7686, allocations: 67.92 kB / 1.234 GB, free: 2.684 MB / 0.9512 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.0009348/0.7695, allocations: 0.8649 MB / 1.235 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.7701, allocations: 190.9 kB / 1.236 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7701, allocations: 4 kB / 1.236 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.7704, allocations: 88.5 kB / 1.236 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.7709, allocations: 61.78 kB / 1.236 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.774, allocations: 2.167 MB / 1.238 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.7743, allocations: 0.7178 MB / 1.238 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000267/0.7746, allocations: 53.92 kB / 1.239 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.7747, allocations: 49.95 kB / 1.239 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.7747, allocations: 0 / 1.239 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.7971, allocations: 5.198 MB / 1.244 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/8.267, allocations: 21.73 kB / 1.244 GB, free: 9.309 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches