Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009042/0.0009043, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 11.94 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.675, allocations: 142.4 MB / 0.9557 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1588/0.8338, allocations: 145 MB / 1.097 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.8381, allocations: 3.622 MB / 1.101 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.8383, allocations: 0 / 1.101 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.8386, allocations: 63.69 kB / 1.101 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.839, allocations: 127.4 kB / 1.101 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.8414, allocations: 0.9433 MB / 1.102 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.8419, allocations: 499.4 kB / 1.102 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.842, allocations: 9.562 kB / 1.102 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.8424, allocations: 179.3 kB / 1.103 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.8426, allocations: 143.5 kB / 1.103 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.8426, allocations: 12 kB / 1.103 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.845, allocations: 1.527 MB / 1.104 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.8451, allocations: 71.78 kB / 1.104 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.8453, allocations: 125.2 kB / 1.104 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.846, allocations: 445 kB / 1.105 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.846, allocations: 0 / 1.105 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/0.846, allocations: 0 / 1.105 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.846, allocations: 0 / 1.105 GB, free: 6.133 MB / 0.8575 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.001072/0.8471, allocations: 0.5499 MB / 1.105 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8471, allocations: 8.031 kB / 1.105 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.8483, allocations: 136.5 kB / 1.105 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.8486, allocations: 220 kB / 1.106 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.8487, allocations: 20.3 kB / 1.106 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.8487, allocations: 16 kB / 1.106 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.8493, allocations: 338 kB / 1.106 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.8493, allocations: 4 kB / 1.106 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.8493, allocations: 8 kB / 1.106 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/0.8494, allocations: 19.97 kB / 1.106 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.8499, allocations: 328.1 kB / 1.106 GB, free: 4.406 MB / 0.8575 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.001568/0.8515, allocations: 1.101 MB / 1.107 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.852, allocations: 190.5 kB / 1.108 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.8521, allocations: 85.73 kB / 1.108 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005429/0.8527, allocations: 461.4 kB / 1.108 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.8527, allocations: 42.67 kB / 1.108 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/0.8527, allocations: 3.938 kB / 1.108 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0006643/0.8534, allocations: 260.6 kB / 1.108 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.8535, allocations: 59.28 kB / 1.109 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.8537, allocations: 203.1 kB / 1.109 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.8537, allocations: 33.7 kB / 1.109 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.8538, allocations: 140 kB / 1.109 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.8539, allocations: 86.84 kB / 1.109 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.8539, allocations: 25.72 kB / 1.109 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.854, allocations: 330.8 kB / 1.109 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.8542, allocations: 72.22 kB / 1.109 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.8544, allocations: 160.8 kB / 1.11 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.8547, allocations: 239.7 kB / 1.11 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.8547, allocations: 4 kB / 1.11 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005021/0.8552, allocations: 283.9 kB / 1.11 GB, free: 348 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8552, allocations: 8 kB / 1.11 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8552, allocations: 4 kB / 1.11 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.8553, allocations: 7.938 kB / 1.11 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.8555, allocations: 59.91 kB / 1.11 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8556, allocations: 8.312 kB / 1.11 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.8558, allocations: 31.69 kB / 1.11 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.8558, allocations: 15.98 kB / 1.11 GB, free: 212 kB / 0.8575 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.000125/0.8559, allocations: 133.8 kB / 1.11 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.8561, allocations: 23.8 kB / 1.11 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.8566, allocations: 285.2 kB / 1.111 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.8566, allocations: 7.938 kB / 1.111 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8566, allocations: 0 / 1.111 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8566, allocations: 3.938 kB / 1.111 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.8574, allocations: 0.5933 MB / 1.111 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.8574, allocations: 0 / 1.111 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.8576, allocations: 31.98 kB / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8576, allocations: 0 / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.8576, allocations: 4 kB / 1.111 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8576, allocations: 4.062 kB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8576, allocations: 0 / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.8581, allocations: 349.4 kB / 1.112 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.8582, allocations: 116.8 kB / 1.112 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.8583, allocations: 8 kB / 1.112 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.8585, allocations: 15.98 kB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.8586, allocations: 15.98 kB / 1.112 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.8586, allocations: 15.92 kB / 1.112 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000121/0.8588, allocations: 152.3 kB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8588, allocations: 0 / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004985/0.8593, allocations: 112 kB / 1.112 GB, free: 14.25 MB / 0.8731 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.0004165/0.8597, allocations: 226.9 kB / 1.112 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.8601, allocations: 208.9 kB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8601, allocations: 0.75 kB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.8602, allocations: 107.9 kB / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.8609, allocations: 104.6 kB / 1.113 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.8617, allocations: 0.5891 MB / 1.113 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.862, allocations: 0.7366 MB / 1.114 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.8621, allocations: 27.44 kB / 1.114 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.8622, allocations: 4 kB / 1.114 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.006985/0.8691, allocations: 4.31 MB / 1.118 GB, free: 7.902 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & ./Buildings_9_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches