Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001286, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001294/0.001294, allocations: 187 kB / 17.34 MB, free: 5.719 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: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.89 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7751, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1479/0.923, allocations: 149.1 MB / 1.313 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004029/0.9271, allocations: 3.613 MB / 1.316 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.9272, allocations: 4 kB / 1.316 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.9276, allocations: 71.58 kB / 1.317 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.928, allocations: 135.2 kB / 1.317 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.9304, allocations: 1.038 MB / 1.318 GB, free: 9.414 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000396/0.9308, allocations: 315.7 kB / 1.318 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.9309, allocations: 13.56 kB / 1.318 GB, free: 9.086 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.9313, allocations: 211.1 kB / 1.318 GB, free: 8.879 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.9315, allocations: 123.6 kB / 1.318 GB, free: 8.758 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.9315, allocations: 12 kB / 1.318 GB, free: 8.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.9334, allocations: 1.216 MB / 1.32 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.9335, allocations: 71.78 kB / 1.32 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.9336, allocations: 111.5 kB / 1.32 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.9347, allocations: 0.6409 MB / 1.32 GB, free: 6.707 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9347, allocations: 4 kB / 1.32 GB, free: 6.703 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9347, allocations: 4 kB / 1.32 GB, free: 6.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.9347, allocations: 3.938 kB / 1.32 GB, free: 6.695 MB / 1.045 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.001121/0.9359, allocations: 0.5733 MB / 1.321 GB, free: 6.074 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.9359, allocations: 8.031 kB / 1.321 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.9372, allocations: 136.5 kB / 1.321 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.9375, allocations: 224 kB / 1.321 GB, free: 5.676 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.9375, allocations: 20.3 kB / 1.321 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.9375, allocations: 20 kB / 1.321 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.9381, allocations: 342 kB / 1.322 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9381, allocations: 0 / 1.322 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.9382, allocations: 12 kB / 1.322 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.9382, allocations: 11.98 kB / 1.322 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000529/0.9387, allocations: 328 kB / 1.322 GB, free: 4.941 MB / 1.045 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.001647/0.9404, allocations: 1.121 MB / 1.323 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.9409, allocations: 190.5 kB / 1.323 GB, free: 3.535 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.941, allocations: 84.8 kB / 1.323 GB, free: 3.449 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.9416, allocations: 457.4 kB / 1.324 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.9416, allocations: 42.55 kB / 1.324 GB, free: 2.859 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.724e-06/0.9416, allocations: 0 / 1.324 GB, free: 2.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0006683/0.9423, allocations: 270.2 kB / 1.324 GB, free: 2.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.9424, allocations: 51.41 kB / 1.324 GB, free: 2.527 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.9426, allocations: 203.6 kB / 1.324 GB, free: 2.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.9426, allocations: 33.7 kB / 1.324 GB, free: 2.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.9427, allocations: 144 kB / 1.324 GB, free: 2.133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.9427, allocations: 66.95 kB / 1.325 GB, free: 2.066 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.9428, allocations: 61.59 kB / 1.325 GB, free: 2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.943, allocations: 326.8 kB / 1.325 GB, free: 1.672 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.9431, allocations: 72.22 kB / 1.325 GB, free: 1.602 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.9433, allocations: 155.6 kB / 1.325 GB, free: 1.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.9436, allocations: 256.8 kB / 1.325 GB, free: 1.121 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.9436, allocations: 0 / 1.325 GB, free: 1.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000531/0.9442, allocations: 286.8 kB / 1.326 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9442, allocations: 4 kB / 1.326 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9442, allocations: 4 kB / 1.326 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.9442, allocations: 7.938 kB / 1.326 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.9445, allocations: 55.91 kB / 1.326 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.9445, allocations: 4 kB / 1.326 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.9447, allocations: 31.59 kB / 1.326 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.9448, allocations: 23.92 kB / 1.326 GB, free: 0.707 MB / 1.045 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.0001272/0.9449, allocations: 137.9 kB / 1.326 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.945, allocations: 23.91 kB / 1.326 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.9455, allocations: 281.1 kB / 1.326 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.9455, allocations: 3.938 kB / 1.326 GB, free: 260 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9456, allocations: 0 / 1.326 GB, free: 260 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9456, allocations: 0 / 1.326 GB, free: 260 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.9463, allocations: 0.5938 MB / 1.327 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9463, allocations: 4.062 kB / 1.327 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.9465, allocations: 35.92 kB / 1.327 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9465, allocations: 0 / 1.327 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.9466, allocations: 8 kB / 1.327 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9466, allocations: 0 / 1.327 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9466, allocations: 0 / 1.327 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.9471, allocations: 349.5 kB / 1.327 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.9473, allocations: 124.7 kB / 1.327 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.9473, allocations: 8 kB / 1.327 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.9476, allocations: 11.98 kB / 1.327 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.9476, allocations: 11.98 kB / 1.327 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.9476, allocations: 15.98 kB / 1.327 GB, free: 15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001176/0.9478, allocations: 145.5 kB / 1.327 GB, free: 14.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9478, allocations: 0 / 1.327 GB, free: 14.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004978/0.9483, allocations: 120 kB / 1.328 GB, free: 14.75 MB / 1.061 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.0003992/0.9487, allocations: 207 kB / 1.328 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.9491, allocations: 216.1 kB / 1.328 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9491, allocations: 0 / 1.328 GB, free: 14.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.9492, allocations: 103.9 kB / 1.328 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.9499, allocations: 112 kB / 1.328 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.9507, allocations: 492.5 kB / 1.329 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.951, allocations: 0.7406 MB / 1.329 GB, free: 12.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.9511, allocations: 23.44 kB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.9511, allocations: 3.938 kB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of Templates: time 0.006905/0.958, allocations: 4.357 MB / 1.334 GB, free: 8.469 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & ./Buildings_10_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches