Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00078/0.00078, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007885/0.0007885, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8581/0.8581, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.766e-05, allocations: 5.234 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.5581/0.5581, allocations: 131.1 MB / 1.08 GB, free: 40.65 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.5606, allocations: 3.302 MB / 1.083 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.5607, allocations: 0 / 1.083 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.5611, allocations: 56.47 kB / 1.083 GB, free: 40.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.5614, allocations: 148.8 kB / 1.083 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.5633, allocations: 1.075 MB / 1.084 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.5637, allocations: 336.6 kB / 1.085 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.5637, allocations: 7.562 kB / 1.085 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.5641, allocations: 254.7 kB / 1.085 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.5642, allocations: 122.1 kB / 1.085 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.5643, allocations: 10.84 kB / 1.085 GB, free: 40.22 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.566, allocations: 1.069 MB / 1.086 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.5661, allocations: 73.28 kB / 1.086 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.5662, allocations: 84.75 kB / 1.086 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.5672, allocations: 0.6708 MB / 1.087 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5672, allocations: 0 / 1.087 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5672, allocations: 0 / 1.087 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.5672, allocations: 0 / 1.087 GB, free: 40.12 MB / 0.9948 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.000832/0.568, allocations: 0.5237 MB / 1.087 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5681, allocations: 10.62 kB / 1.087 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006463/0.5687, allocations: 133 kB / 1.087 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.5689, allocations: 167.1 kB / 1.088 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5689, allocations: 11.06 kB / 1.088 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.569, allocations: 17.97 kB / 1.088 GB, free: 39.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.5694, allocations: 0.59 MB / 1.088 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5694, allocations: 0 / 1.088 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.5694, allocations: 10.31 kB / 1.088 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.5694, allocations: 18.59 kB / 1.088 GB, free: 39.21 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.5698, allocations: 318.8 kB / 1.089 GB, free: 39.2 MB / 0.9948 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.0009927/0.5708, allocations: 0.9135 MB / 1.089 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.5711, allocations: 179.3 kB / 1.09 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.5712, allocations: 80.95 kB / 1.09 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.5714, allocations: 70.34 kB / 1.09 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5715, allocations: 39.66 kB / 1.09 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.5715, allocations: 0 / 1.09 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21): time 0.0004629/0.5719, allocations: 268.4 kB / 1.09 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.572, allocations: 54.22 kB / 1.09 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.5721, allocations: 166.4 kB / 1.09 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5721, allocations: 32.17 kB / 1.09 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.5721, allocations: 156.3 kB / 1.09 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.5722, allocations: 78.69 kB / 1.09 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.5722, allocations: 52.53 kB / 1.091 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.67e-05/0.5723, allocations: 323.3 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.5723, allocations: 69.98 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.5725, allocations: 162.5 kB / 1.091 GB, free: 37.69 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.5727, allocations: 244.7 kB / 1.091 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5727, allocations: 6.875 kB / 1.091 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003054/0.573, allocations: 279.7 kB / 1.092 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.573, allocations: 12.27 kB / 1.092 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.573, allocations: 2.656 kB / 1.092 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.573, allocations: 2.875 kB / 1.092 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.5731, allocations: 52.11 kB / 1.092 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5731, allocations: 14.34 kB / 1.092 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.5732, allocations: 26.84 kB / 1.092 GB, free: 37.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.5733, allocations: 13 kB / 1.092 GB, free: 37.48 MB / 0.9948 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 7.794e-05/0.5733, allocations: 140.7 kB / 1.092 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.5734, allocations: 18.28 kB / 1.092 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.5737, allocations: 275.1 kB / 1.092 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5737, allocations: 5.922 kB / 1.092 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5737, allocations: 0 / 1.092 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5737, allocations: 3.938 kB / 1.092 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.5742, allocations: 0.5162 MB / 1.093 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5742, allocations: 2.625 kB / 1.093 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.5743, allocations: 25.12 kB / 1.093 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5743, allocations: 2.625 kB / 1.093 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5743, allocations: 6.328 kB / 1.093 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5743, allocations: 6.562 kB / 1.093 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5743, allocations: 5.25 kB / 1.093 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.5746, allocations: 344.9 kB / 1.093 GB, free: 36.87 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.5747, allocations: 41 kB / 1.093 GB, free: 36.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.5747, allocations: 9.812 kB / 1.093 GB, free: 36.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5748, allocations: 12.5 kB / 1.093 GB, free: 36.85 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.5748, allocations: 15.75 kB / 1.093 GB, free: 36.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.5748, allocations: 17.86 kB / 1.093 GB, free: 36.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.5749, allocations: 117.8 kB / 1.093 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5749, allocations: 2.625 kB / 1.093 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003797/0.5753, allocations: 124.1 kB / 1.093 GB, free: 36.75 MB / 0.9948 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.0003197/0.5756, allocations: 223.3 kB / 1.094 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.5758, allocations: 202.7 kB / 1.094 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5758, allocations: 2.781 kB / 1.094 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.5759, allocations: 95.83 kB / 1.094 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.5762, allocations: 72.47 kB / 1.094 GB, free: 36.62 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.5768, allocations: 456.7 kB / 1.094 GB, free: 36.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.5769, allocations: 131.5 kB / 1.094 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.5769, allocations: 24.12 kB / 1.094 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/0.5769, allocations: 0 / 1.094 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of Templates: time 0.006268/0.5832, allocations: 4.092 MB / 1.098 GB, free: 35.87 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.7247814713045955]