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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001725/0.001725, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.01072/0.01072, allocations: 191.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.789/2.789, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.008/3.008, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.83 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2357, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004709/0.2404, allocations: 4.093 MB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.2428, allocations: 2.418 MB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.2429, allocations: 0 / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.2431, allocations: 51.78 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.2433, allocations: 87.42 kB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009493/0.2443, allocations: 490 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.2445, allocations: 267.8 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.2446, allocations: 21.55 kB / 1.06 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.2448, allocations: 111.6 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2449, allocations: 95.59 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2449, allocations: 8 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006535/0.2456, allocations: 463.2 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.2457, allocations: 39.88 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.2457, allocations: 87.59 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.2463, allocations: 407.3 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2463, allocations: 0 / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2463, allocations: 4 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.2463, allocations: 3.938 kB / 1.061 GB, free: 0 / 0.8106 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.0006713/0.247, allocations: 0.5108 MB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.247, allocations: 8.625 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.2471, allocations: 54.73 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.249, allocations: 184.6 kB / 1.062 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.2492, allocations: 208.1 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2492, allocations: 12.7 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.2493, allocations: 12.38 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.2499, allocations: 308.2 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2499, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.2499, allocations: 8 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.25, allocations: 12 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.2506, allocations: 259.5 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.2521, allocations: 1.385 MB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.2527, allocations: 198.7 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2529, allocations: 84.8 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.253, allocations: 11.89 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.253, allocations: 30.56 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.253, allocations: 0 / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007228/0.2537, allocations: 246.6 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.2537, allocations: 55.41 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2539, allocations: 165.1 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.2539, allocations: 29.7 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.254, allocations: 128 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.254, allocations: 63.19 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.007e-05/0.2541, allocations: 49.84 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2542, allocations: 326.8 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.2544, allocations: 68.41 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.2547, allocations: 146.3 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.2551, allocations: 211.3 kB / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2551, allocations: 0 / 1.065 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005449/0.2557, allocations: 253 kB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2557, allocations: 8.312 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2557, allocations: 4 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2557, allocations: 4 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.2561, allocations: 67.89 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2561, allocations: 4 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.2563, allocations: 31.77 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2564, allocations: 8 kB / 1.066 GB, free: 10.52 MB / 0.8262 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.0001171/0.2565, allocations: 137.7 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.2566, allocations: 19.75 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000596/0.2572, allocations: 228.2 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2572, allocations: 4 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2572, allocations: 0 / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2572, allocations: 3.984 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.2575, allocations: 253.3 kB / 1.066 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2575, allocations: 0 / 1.066 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.2578, allocations: 47.91 kB / 1.066 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2578, allocations: 4 kB / 1.066 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.2578, allocations: 4 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2578, allocations: 0 / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2578, allocations: 7.984 kB / 1.066 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.2583, allocations: 304 kB / 1.067 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.2584, allocations: 100.9 kB / 1.067 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.2585, allocations: 8 kB / 1.067 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.2588, allocations: 15.98 kB / 1.067 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.2588, allocations: 7.984 kB / 1.067 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.2588, allocations: 15.98 kB / 1.067 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.221e-05/0.2589, allocations: 111.2 kB / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2589, allocations: 0 / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003299/0.2593, allocations: 72.06 kB / 1.067 GB, free: 9.105 MB / 0.8262 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.0008453/0.2601, allocations: 0.8624 MB / 1.068 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.2606, allocations: 201.8 kB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2606, allocations: 0 / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.2609, allocations: 87.89 kB / 1.068 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.2613, allocations: 60.92 kB / 1.068 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.2642, allocations: 2.2 MB / 1.07 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.2645, allocations: 0.7251 MB / 1.071 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003555/0.2648, allocations: 49.92 kB / 1.071 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.265, allocations: 47.42 kB / 1.071 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.265, allocations: 0 / 1.071 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.036/2.301, allocations: 5.044 MB / 1.076 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001002/2.302, allocations: 244.3 kB / 1.076 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.012/5.313, allocations: 0 / 1.076 GB, free: 15.63 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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