Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.00132/0.00132, allocations: 79.5 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001443/0.001443, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.912/2.912, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 67.91 kB / 1.009 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8559, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2053/1.061, allocations: 158 MB / 1.341 GB, free: 7.824 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01748/1.079, allocations: 10.16 MB / 1.351 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/1.081, allocations: 131 kB / 1.351 GB, free: 13.51 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005409/1.087, allocations: 1.881 MB / 1.353 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004461/1.091, allocations: 1.682 MB / 1.354 GB, free: 9.926 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/1.093, allocations: 0.7977 MB / 1.355 GB, free: 9.129 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004219/1.098, allocations: 3.177 MB / 1.358 GB, free: 5.941 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/1.099, allocations: 0.9496 MB / 1.359 GB, free: 4.961 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/1.101, allocations: 1.346 MB / 1.361 GB, free: 3.609 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/1.103, allocations: 1.138 MB / 1.362 GB, free: 2.473 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/1.103, allocations: 128 kB / 1.362 GB, free: 2.348 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/1.105, allocations: 0.7717 MB / 1.363 GB, free: 1.574 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005631/1.106, allocations: 0.49 MB / 1.363 GB, free: 1.082 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/1.107, allocations: 0.8273 MB / 1.364 GB, free: 256 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00416/1.111, allocations: 3.482 MB / 1.367 GB, free: 12.75 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.111, allocations: 0 / 1.367 GB, free: 12.75 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.373e-06/1.111, allocations: 0 / 1.367 GB, free: 12.75 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.451e-05/1.111, allocations: 0 / 1.367 GB, free: 12.75 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004132/1.115, allocations: 2.83 MB / 1.37 GB, free: 9.875 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.115, allocations: 12.03 kB / 1.37 GB, free: 9.863 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/1.117, allocations: 390 kB / 1.37 GB, free: 9.48 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/1.12, allocations: 1.947 MB / 1.372 GB, free: 7.477 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/1.12, allocations: 58 kB / 1.372 GB, free: 7.418 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.12, allocations: 75.98 kB / 1.372 GB, free: 7.344 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.122, allocations: 1.041 MB / 1.373 GB, free: 6.238 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.122, allocations: 0 / 1.373 GB, free: 6.238 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/1.122, allocations: 32 kB / 1.374 GB, free: 6.207 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/1.122, allocations: 28.94 kB / 1.374 GB, free: 6.176 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/1.123, allocations: 0.7025 MB / 1.374 GB, free: 5.477 MB / 1.217 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.005889/1.129, allocations: 3.47 MB / 1.378 GB, free: 1.926 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/1.13, allocations: 313.5 kB / 1.378 GB, free: 1.613 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/1.13, allocations: 168.8 kB / 1.378 GB, free: 1.445 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/1.13, allocations: 19.98 kB / 1.378 GB, free: 1.426 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/1.13, allocations: 38.5 kB / 1.378 GB, free: 1.379 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/1.13, allocations: 0 / 1.378 GB, free: 1.379 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003395/1.134, allocations: 1.574 MB / 1.38 GB, free: 15.76 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/1.134, allocations: 59.41 kB / 1.38 GB, free: 15.69 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003801/1.137, allocations: 2.741 MB / 1.382 GB, free: 12.94 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/1.137, allocations: 37.64 kB / 1.382 GB, free: 12.89 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/1.139, allocations: 1.065 MB / 1.383 GB, free: 11.82 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.139, allocations: 119 kB / 1.384 GB, free: 11.7 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/1.139, allocations: 114.2 kB / 1.384 GB, free: 11.58 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.139, allocations: 322 kB / 1.384 GB, free: 11.26 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/1.139, allocations: 173 kB / 1.384 GB, free: 11.09 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/1.14, allocations: 447.8 kB / 1.385 GB, free: 10.55 MB / 1.232 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/1.142, allocations: 1.002 MB / 1.386 GB, free: 9.469 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.142, allocations: 4 kB / 1.386 GB, free: 9.465 MB / 1.232 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001326/1.144, allocations: 0.7943 MB / 1.386 GB, free: 8.66 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/1.144, allocations: 8 kB / 1.386 GB, free: 8.652 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.144, allocations: 8 kB / 1.386 GB, free: 8.645 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/1.144, allocations: 64.75 kB / 1.386 GB, free: 8.578 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/1.144, allocations: 103.8 kB / 1.387 GB, free: 8.477 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/1.146, allocations: 1.723 MB / 1.388 GB, free: 6.656 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/1.147, allocations: 23.95 kB / 1.388 GB, free: 6.633 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/1.147, allocations: 24 kB / 1.388 GB, free: 6.609 MB / 1.232 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001138/1.148, allocations: 0.7941 MB / 1.389 GB, free: 5.805 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/1.148, allocations: 226.5 kB / 1.389 GB, free: 5.582 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/1.149, allocations: 250.2 kB / 1.389 GB, free: 5.328 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.149, allocations: 0 / 1.389 GB, free: 5.328 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.149, allocations: 8.062 kB / 1.39 GB, free: 5.32 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007963/1.149, allocations: 0.6016 MB / 1.39 GB, free: 4.648 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/1.152, allocations: 1.791 MB / 1.392 GB, free: 2.777 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.152, allocations: 4 kB / 1.392 GB, free: 2.773 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/1.153, allocations: 63.84 kB / 1.392 GB, free: 2.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/1.153, allocations: 60.81 kB / 1.392 GB, free: 2.648 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/1.153, allocations: 8 kB / 1.392 GB, free: 2.641 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.155, allocations: 1.727 MB / 1.394 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.155, allocations: 8.094 kB / 1.394 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/1.156, allocations: 0.9254 MB / 1.395 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/1.157, allocations: 323.7 kB / 1.395 GB, free: 15.5 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.157, allocations: 15.98 kB / 1.395 GB, free: 15.49 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/1.157, allocations: 22.59 kB / 1.395 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/1.157, allocations: 35.83 kB / 1.395 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/1.157, allocations: 12 kB / 1.395 GB, free: 15.42 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002743/1.16, allocations: 1.938 MB / 1.397 GB, free: 13.48 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.21e-07/1.16, allocations: 0 / 1.397 GB, free: 13.48 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001012/1.161, allocations: 296 kB / 1.397 GB, free: 13.19 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002928/1.162, allocations: 155.1 kB / 1.397 GB, free: 13.03 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009094/1.162, allocations: 0.507 MB / 1.398 GB, free: 12.51 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.162, allocations: 3.938 kB / 1.398 GB, free: 12.5 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/1.163, allocations: 299.8 kB / 1.398 GB, free: 12.2 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/1.166, allocations: 0.8616 MB / 1.399 GB, free: 11.36 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/1.172, allocations: 4.192 MB / 1.403 GB, free: 7.086 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/1.174, allocations: 1.38 MB / 1.404 GB, free: 5.66 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000869/1.175, allocations: 313.3 kB / 1.405 GB, free: 5.348 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/1.175, allocations: 96.5 kB / 1.405 GB, free: 5.25 MB / 1.248 GB Notification: Performance of SimCode: time 7.51e-07/1.175, allocations: 7.938 kB / 1.405 GB, free: 5.242 MB / 1.248 GB Notification: Performance of Templates: time 0.05084/1.226, allocations: 29.05 MB / 1.433 GB, free: 8.789 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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: 9.601141358958557]