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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0009656/0.0009656, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.007963/0.007963, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.315/1.315, 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 11.0.0-master/package.mo): time 2.424/2.424, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002988, allocations: 10.53 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2327, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003862/0.2366, allocations: 3.738 MB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.239, allocations: 2.427 MB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.2391, allocations: 4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.2393, allocations: 39.8 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.2396, allocations: 87.48 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2407, allocations: 478.1 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.2411, allocations: 343.7 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.2411, allocations: 13.56 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.2413, allocations: 107.6 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2415, allocations: 103.6 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2415, allocations: 8 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007855/0.2423, allocations: 451.1 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-05/0.2424, allocations: 39.88 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.2425, allocations: 109.3 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.2432, allocations: 418.8 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2432, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2432, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2432, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 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.0006872/0.2439, allocations: 475.3 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2439, allocations: 11.97 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.244, allocations: 50.73 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.2458, allocations: 188.5 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.246, allocations: 208.1 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.246, allocations: 8.703 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.2461, allocations: 20.38 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.2467, allocations: 308.2 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2467, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.2467, allocations: 8 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.2468, allocations: 7.984 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.2474, allocations: 259.6 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.2489, allocations: 1.385 MB / 1.07 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.2495, allocations: 198.4 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.2497, allocations: 80.75 kB / 1.07 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2498, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2498, allocations: 42.56 kB / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 9.52e-07/0.2498, allocations: 0 / 1.07 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007476/0.2506, allocations: 243.3 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2506, allocations: 55.41 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.2507, allocations: 164.3 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.2508, allocations: 25.7 kB / 1.071 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.2508, allocations: 136 kB / 1.071 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.2509, allocations: 63.09 kB / 1.071 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.2509, allocations: 25.7 kB / 1.071 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.251, allocations: 326.8 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.2513, allocations: 64.42 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.2515, allocations: 143 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.252, allocations: 219.4 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.252, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005628/0.2526, allocations: 253.3 kB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2526, allocations: 8 kB / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2526, allocations: 0 / 1.072 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2526, allocations: 4 kB / 1.072 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.2529, allocations: 63.89 kB / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.253, allocations: 4 kB / 1.072 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.2532, allocations: 39.8 kB / 1.072 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.2532, allocations: 23.92 kB / 1.072 GB, free: 7.098 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.0001053/0.2533, allocations: 125.8 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.2534, allocations: 11.91 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.254, allocations: 236 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.254, allocations: 4 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.254, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.254, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.2543, allocations: 261.3 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2543, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2546, allocations: 43.91 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2546, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2546, allocations: 7.984 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2546, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2546, allocations: 3.984 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.2551, allocations: 300.4 kB / 1.073 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.2552, allocations: 100.9 kB / 1.073 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.2553, allocations: 4 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.2555, allocations: 23.97 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.2556, allocations: 11.98 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.2556, allocations: 8 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.2557, allocations: 123.5 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2557, allocations: 0 / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003517/0.256, allocations: 59.94 kB / 1.073 GB, free: 5.699 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.0008336/0.2569, allocations: 0.8662 MB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.2574, allocations: 188.6 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2574, allocations: 0 / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.2576, allocations: 92.91 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.2581, allocations: 56.52 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.2609, allocations: 2.237 MB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2611, allocations: 0.7134 MB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003214/0.2614, allocations: 53.92 kB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2616, allocations: 47.42 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2616, allocations: 3.938 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/0.3916, allocations: 4.832 MB / 1.082 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/0.3919, allocations: 238.9 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.088, allocations: 1.125 kB / 1.082 GB, free: 12.41 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