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.001385/0.001385, 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.001718/0.001718, allocations: 194.7 kB / 16.14 MB, free: 6.648 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.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.853/2.853, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7588, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1742/0.933, allocations: 146.8 MB / 1.16 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004251/0.9373, allocations: 3.665 MB / 1.164 GB, free: 11.69 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.9376, allocations: 4 kB / 1.164 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.9382, allocations: 59.7 kB / 1.164 GB, free: 11.62 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.9387, allocations: 135.3 kB / 1.164 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.9418, allocations: 0.9521 MB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.9424, allocations: 499.4 kB / 1.165 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.986e-05/0.9425, allocations: 13.55 kB / 1.165 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.9429, allocations: 167.3 kB / 1.165 GB, free: 9.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.9431, allocations: 139.5 kB / 1.165 GB, free: 9.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.9431, allocations: 8 kB / 1.165 GB, free: 9.73 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.9458, allocations: 1.535 MB / 1.167 GB, free: 8.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.9459, allocations: 63.78 kB / 1.167 GB, free: 8.129 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.946, allocations: 111.5 kB / 1.167 GB, free: 8.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.9473, allocations: 0.7343 MB / 1.168 GB, free: 7.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9473, allocations: 0 / 1.168 GB, free: 7.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9474, allocations: 4 kB / 1.168 GB, free: 7.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9474, allocations: 0 / 1.168 GB, free: 7.281 MB / 0.92 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.001294/0.9487, allocations: 0.5851 MB / 1.168 GB, free: 6.648 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.9487, allocations: 8.031 kB / 1.168 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.9499, allocations: 140.5 kB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.9502, allocations: 216.1 kB / 1.169 GB, free: 6.254 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.9502, allocations: 16.31 kB / 1.169 GB, free: 6.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.9503, allocations: 20 kB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.9509, allocations: 334.3 kB / 1.169 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9509, allocations: 0 / 1.169 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.9509, allocations: 12 kB / 1.169 GB, free: 5.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.951, allocations: 23.86 kB / 1.169 GB, free: 5.836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.9515, allocations: 328.1 kB / 1.169 GB, free: 5.516 MB / 0.92 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.001805/0.9533, allocations: 1.121 MB / 1.171 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.9538, allocations: 182.5 kB / 1.171 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.954, allocations: 88.81 kB / 1.171 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.9546, allocations: 453.4 kB / 1.171 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.9546, allocations: 38.55 kB / 1.171 GB, free: 3.445 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.9546, allocations: 4 kB / 1.171 GB, free: 3.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0006971/0.9554, allocations: 264.7 kB / 1.172 GB, free: 3.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.9554, allocations: 59.41 kB / 1.172 GB, free: 3.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.9557, allocations: 203.1 kB / 1.172 GB, free: 2.898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.9557, allocations: 25.7 kB / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.9558, allocations: 155.9 kB / 1.172 GB, free: 2.711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.9559, allocations: 70.94 kB / 1.172 GB, free: 2.641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.956, allocations: 53.61 kB / 1.172 GB, free: 2.582 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9561, allocations: 326.8 kB / 1.172 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.9562, allocations: 72.22 kB / 1.172 GB, free: 2.184 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.9564, allocations: 160.2 kB / 1.173 GB, free: 1.988 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.9568, allocations: 246.9 kB / 1.173 GB, free: 1.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9568, allocations: 0 / 1.173 GB, free: 1.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000505/0.9573, allocations: 287.8 kB / 1.173 GB, free: 1.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9573, allocations: 12 kB / 1.173 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9573, allocations: 0 / 1.173 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.9574, allocations: 8.047 kB / 1.173 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.9576, allocations: 63.86 kB / 1.173 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.9577, allocations: 7.984 kB / 1.173 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.9579, allocations: 27.69 kB / 1.173 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.9579, allocations: 12 kB / 1.173 GB, free: 1.293 MB / 0.92 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.0001297/0.9581, allocations: 142 kB / 1.173 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.9582, allocations: 19.81 kB / 1.173 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/0.9587, allocations: 284.6 kB / 1.174 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.9587, allocations: 7.938 kB / 1.174 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.9587, allocations: 3.984 kB / 1.174 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9588, allocations: 3.984 kB / 1.174 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007099/0.9595, allocations: 0.5819 MB / 1.174 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9595, allocations: 0 / 1.174 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.9597, allocations: 27.98 kB / 1.174 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.9597, allocations: 7.938 kB / 1.174 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.9597, allocations: 4 kB / 1.174 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.9597, allocations: 11.92 kB / 1.174 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9597, allocations: 0 / 1.174 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.9602, allocations: 353.6 kB / 1.175 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.9604, allocations: 120.8 kB / 1.175 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.9604, allocations: 0 / 1.175 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.9607, allocations: 19.92 kB / 1.175 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.9608, allocations: 15.92 kB / 1.175 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.9608, allocations: 12 kB / 1.175 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001405/0.9609, allocations: 157.5 kB / 1.175 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9609, allocations: 0 / 1.175 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005506/0.9615, allocations: 115.9 kB / 1.175 GB, free: 15.31 MB / 0.9356 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.0005023/0.962, allocations: 215 kB / 1.175 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.9624, allocations: 203.7 kB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.9624, allocations: 0 / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.9626, allocations: 114.1 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.9632, allocations: 96.66 kB / 1.176 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.9641, allocations: 0.5284 MB / 1.176 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.9644, allocations: 0.7406 MB / 1.177 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002924/0.9647, allocations: 58.19 kB / 1.177 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.9648, allocations: 27.44 kB / 1.177 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.9648, allocations: 0 / 1.177 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.01023/0.975, allocations: 5.296 MB / 1.182 GB, free: 8.059 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches