Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.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.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",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.001003/0.001003, allocations: 91.84 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.007991/0.007991, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 7.812 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2723, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.142/0.4143, allocations: 145 MB / 1.2 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00375/0.4181, allocations: 3.61 MB / 1.204 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.4183, allocations: 0 / 1.204 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.4185, allocations: 63.77 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.4188, allocations: 127.3 kB / 1.204 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.4209, allocations: 0.9497 MB / 1.205 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.4214, allocations: 491.5 kB / 1.205 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.4214, allocations: 21.55 kB / 1.205 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.4218, allocations: 167.3 kB / 1.206 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.422, allocations: 143.5 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.422, allocations: 8 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.4241, allocations: 1.527 MB / 1.207 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.4242, allocations: 71.78 kB / 1.207 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.4243, allocations: 129.2 kB / 1.207 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.4254, allocations: 0.7365 MB / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.4255, allocations: 4 kB / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.52e-07/0.4255, allocations: 0 / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.4255, allocations: 0 / 1.208 GB, free: 11.31 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009291/0.4264, allocations: 0.546 MB / 1.209 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4264, allocations: 15.97 kB / 1.209 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.4265, allocations: 66.67 kB / 1.209 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.4276, allocations: 128.6 kB / 1.209 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.4279, allocations: 223.8 kB / 1.209 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.4279, allocations: 12.38 kB / 1.209 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.4279, allocations: 20 kB / 1.209 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.4284, allocations: 334.3 kB / 1.209 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4284, allocations: 0 / 1.209 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.4285, allocations: 15.98 kB / 1.209 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.4285, allocations: 15.98 kB / 1.209 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.429, allocations: 320.1 kB / 1.21 GB, free: 9.523 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.4304, allocations: 1.109 MB / 1.211 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.4309, allocations: 182.5 kB / 1.211 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.431, allocations: 96.73 kB / 1.211 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004661/0.4315, allocations: 453.5 kB / 1.212 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4315, allocations: 34.5 kB / 1.212 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.4315, allocations: 0 / 1.212 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0006006/0.4321, allocations: 269 kB / 1.212 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.4322, allocations: 63.34 kB / 1.212 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4324, allocations: 203.1 kB / 1.212 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.4324, allocations: 29.7 kB / 1.212 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.4325, allocations: 143.9 kB / 1.212 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.4326, allocations: 74.98 kB / 1.212 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.4326, allocations: 25.72 kB / 1.212 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.4327, allocations: 330.8 kB / 1.213 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4328, allocations: 72.22 kB / 1.213 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.433, allocations: 160.8 kB / 1.213 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.4333, allocations: 254.8 kB / 1.213 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4333, allocations: 3.938 kB / 1.213 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005046/0.4338, allocations: 279.3 kB / 1.213 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4338, allocations: 9.594 kB / 1.213 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4339, allocations: 4 kB / 1.213 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4339, allocations: 7.938 kB / 1.213 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.4341, allocations: 59.91 kB / 1.214 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4341, allocations: 4 kB / 1.214 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.4343, allocations: 31.69 kB / 1.214 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.4344, allocations: 19.97 kB / 1.214 GB, free: 5.32 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001224/0.4345, allocations: 145.7 kB / 1.214 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4346, allocations: 27.7 kB / 1.214 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.4351, allocations: 273.2 kB / 1.214 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4351, allocations: 8 kB / 1.214 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4351, allocations: 0 / 1.214 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4351, allocations: 0 / 1.214 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.4358, allocations: 0.584 MB / 1.215 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4358, allocations: 0 / 1.215 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.436, allocations: 39.92 kB / 1.215 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.436, allocations: 0 / 1.215 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.436, allocations: 8 kB / 1.215 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.4361, allocations: 0 / 1.215 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4361, allocations: 4 kB / 1.215 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.4366, allocations: 356.8 kB / 1.215 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4367, allocations: 116.8 kB / 1.215 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.4367, allocations: 0 / 1.215 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.437, allocations: 23.89 kB / 1.215 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.437, allocations: 7.984 kB / 1.215 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.4371, allocations: 23.92 kB / 1.215 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001153/0.4372, allocations: 152.3 kB / 1.215 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4372, allocations: 0 / 1.215 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004614/0.4376, allocations: 119.9 kB / 1.215 GB, free: 3.344 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000972/0.4386, allocations: 0.9885 MB / 1.216 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.439, allocations: 208.9 kB / 1.217 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.439, allocations: 8.25 kB / 1.217 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4391, allocations: 99.8 kB / 1.217 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.4398, allocations: 92.03 kB / 1.217 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.4424, allocations: 2.606 MB / 1.219 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.4427, allocations: 0.7328 MB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.443, allocations: 50.27 kB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.4431, allocations: 59.41 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.4431, allocations: 3.938 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1647/0.6078, allocations: 7.309 MB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.6082, allocations: 189.6 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.434, allocations: 3.938 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches