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: 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_latest_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_latest_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.00119/0.00119, allocations: 114.5 kB / 16.37 MB, free: 5.539 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.001232/0.001232, allocations: 191.4 kB / 17.3 MB, free: 5.18 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.426/2.426, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.42 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2759, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6433/0.9192, allocations: 149.1 MB / 1.172 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003882/0.9232, allocations: 3.618 MB / 1.176 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.081e-05/0.9233, allocations: 1.219 kB / 1.176 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.9236, allocations: 60.7 kB / 1.176 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.924, allocations: 137.8 kB / 1.176 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.9262, allocations: 1.014 MB / 1.177 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.9266, allocations: 322.1 kB / 1.177 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.9267, allocations: 11.88 kB / 1.177 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.9271, allocations: 191.3 kB / 1.178 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.9273, allocations: 131.7 kB / 1.178 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.9273, allocations: 14.28 kB / 1.178 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.9293, allocations: 1.217 MB / 1.179 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.9294, allocations: 67.38 kB / 1.179 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.9295, allocations: 109.9 kB / 1.179 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009994/0.9305, allocations: 0.6359 MB / 1.18 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9306, allocations: 0 / 1.18 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9306, allocations: 0 / 1.18 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9306, allocations: 1.125 kB / 1.18 GB, free: 7.004 MB / 0.8887 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.001055/0.9316, allocations: 0.5903 MB / 1.18 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.9317, allocations: 9.031 kB / 1.18 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.9329, allocations: 135.7 kB / 1.18 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.9332, allocations: 215.9 kB / 1.181 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.9332, allocations: 19.95 kB / 1.181 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.9332, allocations: 19.16 kB / 1.181 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.9338, allocations: 338.4 kB / 1.181 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9338, allocations: 4 kB / 1.181 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.9338, allocations: 11.88 kB / 1.181 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.9339, allocations: 10.81 kB / 1.181 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.9344, allocations: 322.9 kB / 1.181 GB, free: 5.797 MB / 0.8887 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.001603/0.936, allocations: 1.115 MB / 1.182 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.9365, allocations: 180.6 kB / 1.183 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.9367, allocations: 82.31 kB / 1.183 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/0.9372, allocations: 469.5 kB / 1.183 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.9372, allocations: 39.28 kB / 1.183 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.9372, allocations: 0 / 1.183 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.0006594/0.9379, allocations: 260.3 kB / 1.183 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.9379, allocations: 52.78 kB / 1.183 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.9381, allocations: 208.6 kB / 1.184 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.9382, allocations: 32.08 kB / 1.184 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.9383, allocations: 148.8 kB / 1.184 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.9383, allocations: 75.14 kB / 1.184 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.9384, allocations: 55.55 kB / 1.184 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.9385, allocations: 331.1 kB / 1.184 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.9387, allocations: 70.33 kB / 1.184 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.9389, allocations: 159.7 kB / 1.184 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.9392, allocations: 250.7 kB / 1.185 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9392, allocations: 1.062 kB / 1.185 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000518/0.9397, allocations: 288.3 kB / 1.185 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9397, allocations: 6.625 kB / 1.185 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9398, allocations: 2.75 kB / 1.185 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.9398, allocations: 5.281 kB / 1.185 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.9401, allocations: 64.56 kB / 1.185 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.9401, allocations: 8.094 kB / 1.185 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.9403, allocations: 29.38 kB / 1.185 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.9403, allocations: 13.44 kB / 1.185 GB, free: 2.625 MB / 0.8887 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.0001205/0.9405, allocations: 142.1 kB / 1.185 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.9406, allocations: 24.64 kB / 1.185 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.9411, allocations: 277.7 kB / 1.185 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.9411, allocations: 14.8 kB / 1.185 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.9411, allocations: 0 / 1.185 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9411, allocations: 5.406 kB / 1.185 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.9419, allocations: 0.572 MB / 1.186 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.9419, allocations: 5.969 kB / 1.186 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.9421, allocations: 41.59 kB / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.9421, allocations: 6.031 kB / 1.186 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.9421, allocations: 2.375 kB / 1.186 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.9421, allocations: 4.719 kB / 1.186 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9421, allocations: 1.188 kB / 1.186 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.9426, allocations: 352.2 kB / 1.186 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.9428, allocations: 122 kB / 1.187 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.9428, allocations: 1.156 kB / 1.187 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.9431, allocations: 14.55 kB / 1.187 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.9432, allocations: 18.58 kB / 1.187 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.9432, allocations: 9.469 kB / 1.187 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000127/0.9433, allocations: 153 kB / 1.187 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9433, allocations: 3.938 kB / 1.187 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004977/0.9438, allocations: 120.6 kB / 1.187 GB, free: 1.289 MB / 0.8887 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.0003936/0.9442, allocations: 214 kB / 1.187 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.9446, allocations: 208 kB / 1.187 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9446, allocations: 1.344 kB / 1.187 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.9448, allocations: 103.4 kB / 1.187 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.9454, allocations: 98.28 kB / 1.187 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.9462, allocations: 464 kB / 1.188 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.9465, allocations: 0.7309 MB / 1.189 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.9467, allocations: 55.84 kB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.9468, allocations: 30.75 kB / 1.189 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.9468, allocations: 3.938 kB / 1.189 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of Templates: time 0.009192/0.956, allocations: 5.495 MB / 1.194 GB, free: 13.17 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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