Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001632/0.001632, allocations: 192.4 kB / 16.14 MB, free: 6.645 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 461.8 MB / 0.7342 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.28 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2213, allocations: 157.4 MB / 1.052 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01424/0.2356, allocations: 13.87 MB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2379, allocations: 2.695 MB / 1.068 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.238, allocations: 4 kB / 1.068 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.2383, allocations: 27.81 kB / 1.068 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.2385, allocations: 95.47 kB / 1.069 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.2394, allocations: 462.9 kB / 1.069 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.2397, allocations: 307.9 kB / 1.069 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.2397, allocations: 5.562 kB / 1.069 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006053/0.2458, allocations: 3.153 MB / 1.072 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2459, allocations: 95.64 kB / 1.072 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.2459, allocations: 8 kB / 1.072 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.2477, allocations: 0.9824 MB / 1.073 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.2478, allocations: 39.88 kB / 1.073 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.717e-05/0.2479, allocations: 83.66 kB / 1.073 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.2484, allocations: 363 kB / 1.074 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2484, allocations: 4 kB / 1.074 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2484, allocations: 3.984 kB / 1.074 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.2484, allocations: 0 / 1.074 GB, free: 2.039 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.0005853/0.249, allocations: 0.4992 MB / 1.074 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.249, allocations: 11.97 kB / 1.074 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.2491, allocations: 46.73 kB / 1.074 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.2492, allocations: 24.75 kB / 1.074 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.2494, allocations: 220.1 kB / 1.075 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.2494, allocations: 16.69 kB / 1.075 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.2494, allocations: 16.38 kB / 1.075 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.2498, allocations: 251.8 kB / 1.075 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2498, allocations: 0 / 1.075 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.2498, allocations: 8 kB / 1.075 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2498, allocations: 8 kB / 1.075 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.2503, allocations: 427.5 kB / 1.075 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.2513, allocations: 0.9643 MB / 1.076 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.2515, allocations: 159.1 kB / 1.076 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.2516, allocations: 62.75 kB / 1.076 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.2527, allocations: 1.833 MB / 1.078 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2527, allocations: 42.5 kB / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.2527, allocations: 0 / 1.078 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0002833/0.253, allocations: 149.4 kB / 1.078 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.2531, allocations: 55.41 kB / 1.079 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2532, allocations: 175.2 kB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.2532, allocations: 29.7 kB / 1.079 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.2533, allocations: 139.8 kB / 1.079 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2533, allocations: 63.17 kB / 1.079 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.2534, allocations: 49.7 kB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.2535, allocations: 322.8 kB / 1.079 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.2536, allocations: 31.98 kB / 1.079 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2537, allocations: 146.1 kB / 1.079 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.2539, allocations: 196.2 kB / 1.08 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2539, allocations: 0 / 1.08 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002953/0.2542, allocations: 221.4 kB / 1.08 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2542, allocations: 4.938 kB / 1.08 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2542, allocations: 4 kB / 1.08 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2542, allocations: 11.94 kB / 1.08 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2544, allocations: 55.84 kB / 1.08 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2544, allocations: 4 kB / 1.08 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2545, allocations: 23.75 kB / 1.08 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2545, allocations: 16 kB / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.015e-05/0.2546, allocations: 137.8 kB / 1.08 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.2547, allocations: 19.81 kB / 1.08 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.255, allocations: 158.2 kB / 1.08 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.255, allocations: 7.938 kB / 1.08 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.255, allocations: 0 / 1.08 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.255, allocations: 3.984 kB / 1.08 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.2552, allocations: 217.5 kB / 1.08 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2552, allocations: 0 / 1.08 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.6e-05/0.2553, allocations: 27.98 kB / 1.08 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2553, allocations: 0 / 1.08 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2553, allocations: 4 kB / 1.08 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2554, allocations: 7.938 kB / 1.08 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2554, allocations: 0 / 1.08 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.2556, allocations: 215.4 kB / 1.081 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.2557, allocations: 112.8 kB / 1.081 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2557, allocations: 4 kB / 1.081 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2559, allocations: 23.92 kB / 1.081 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.2559, allocations: 11.92 kB / 1.081 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.2559, allocations: 15.98 kB / 1.081 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.166e-05/0.256, allocations: 116.9 kB / 1.081 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.256, allocations: 0 / 1.081 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00034/0.2564, allocations: 75.98 kB / 1.081 GB, free: 9.844 MB / 0.8419 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006048/0.257, allocations: 0.8371 MB / 1.082 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2572, allocations: 125.9 kB / 1.082 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2572, allocations: 4 kB / 1.082 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.207e-05/0.2573, allocations: 43.92 kB / 1.082 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.2577, allocations: 52.33 kB / 1.082 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.2595, allocations: 2.07 MB / 1.084 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2597, allocations: 0.717 MB / 1.085 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.2599, allocations: 49.67 kB / 1.085 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.26, allocations: 59.36 kB / 1.085 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.26, allocations: 0 / 1.085 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7804/1.04, allocations: 5.219 MB / 1.09 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.041, allocations: 216.8 kB / 1.09 GB, free: 368 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.764, allocations: 0 / 1.09 GB, free: 368 kB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches