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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 496.2 MB / 0.7819 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 59.91 kB / 1.136 GB, free: 12.29 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8528, allocations: 173.6 MB / 1.306 GB, free: 33.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2161/1.069, allocations: 180.1 MB / 1.481 GB, free: 14.49 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01922/1.088, allocations: 11.05 MB / 1.492 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/1.091, allocations: 94.53 kB / 1.492 GB, free: 5.449 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006538/1.098, allocations: 2.028 MB / 1.494 GB, free: 4.055 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005423/1.103, allocations: 1.678 MB / 1.496 GB, free: 2.711 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/1.106, allocations: 0.8144 MB / 1.497 GB, free: 2.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005804/1.112, allocations: 3.157 MB / 1.5 GB, free: 192 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/1.113, allocations: 0.8137 MB / 1.501 GB, free: 15.62 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/1.116, allocations: 1.295 MB / 1.502 GB, free: 14.88 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002969/1.119, allocations: 1.154 MB / 1.503 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005868/1.12, allocations: 128 kB / 1.503 GB, free: 13.94 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/1.123, allocations: 0.9589 MB / 1.504 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009128/1.124, allocations: 497.9 kB / 1.505 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002301/1.126, allocations: 1.091 MB / 1.506 GB, free: 11.39 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006196/1.132, allocations: 3.494 MB / 1.509 GB, free: 7.883 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.132, allocations: 4 kB / 1.509 GB, free: 7.879 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.663e-06/1.132, allocations: 0 / 1.509 GB, free: 7.879 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.494e-05/1.132, allocations: 0 / 1.509 GB, free: 7.879 MB / 1.186 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.005723/1.138, allocations: 2.894 MB / 1.512 GB, free: 4.918 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.138, allocations: 8.031 kB / 1.512 GB, free: 4.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/1.14, allocations: 386 kB / 1.512 GB, free: 4.531 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/1.144, allocations: 2.043 MB / 1.514 GB, free: 2.426 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/1.144, allocations: 58 kB / 1.514 GB, free: 2.367 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/1.144, allocations: 76 kB / 1.514 GB, free: 2.293 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/1.146, allocations: 0.9407 MB / 1.515 GB, free: 1.309 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/1.146, allocations: 0 / 1.515 GB, free: 1.309 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-05/1.146, allocations: 32 kB / 1.515 GB, free: 1.277 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/1.146, allocations: 32.94 kB / 1.515 GB, free: 1.246 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/1.148, allocations: 0.6947 MB / 1.516 GB, free: 0.5508 MB / 1.186 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.007479/1.155, allocations: 4.469 MB / 1.52 GB, free: 11.87 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/1.156, allocations: 299.7 kB / 1.521 GB, free: 11.57 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/1.156, allocations: 172.7 kB / 1.521 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/1.156, allocations: 97.09 kB / 1.521 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.156, allocations: 38.56 kB / 1.521 GB, free: 11.24 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/1.156, allocations: 0 / 1.521 GB, free: 11.24 MB / 1.201 GB Notification: Performance of matching and sorting (n=32): time 0.003889/1.16, allocations: 1.74 MB / 1.523 GB, free: 9.422 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.16, allocations: 55.41 kB / 1.523 GB, free: 9.355 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005182/1.165, allocations: 2.953 MB / 1.526 GB, free: 6.387 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/1.166, allocations: 37.64 kB / 1.526 GB, free: 6.344 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.167, allocations: 1.059 MB / 1.527 GB, free: 5.277 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/1.167, allocations: 130.9 kB / 1.527 GB, free: 5.148 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/1.167, allocations: 110.2 kB / 1.527 GB, free: 5.035 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.167, allocations: 326 kB / 1.527 GB, free: 4.711 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/1.168, allocations: 165 kB / 1.527 GB, free: 4.551 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/1.168, allocations: 374.7 kB / 1.528 GB, free: 4.098 MB / 1.201 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.002389/1.17, allocations: 1.084 MB / 1.529 GB, free: 2.91 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.17, allocations: 7.938 kB / 1.529 GB, free: 2.902 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001514/1.172, allocations: 0.8023 MB / 1.53 GB, free: 2.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.172, allocations: 11.98 kB / 1.53 GB, free: 2.078 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.172, allocations: 12.03 kB / 1.53 GB, free: 2.066 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/1.172, allocations: 56.83 kB / 1.53 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/1.173, allocations: 99.83 kB / 1.53 GB, free: 1.91 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/1.175, allocations: 1.865 MB / 1.532 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009776/1.176, allocations: 23.98 kB / 1.532 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/1.176, allocations: 31.94 kB / 1.532 GB, free: 15.86 MB / 1.217 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.001275/1.177, allocations: 0.7999 MB / 1.532 GB, free: 15.05 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/1.177, allocations: 246.4 kB / 1.533 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/1.178, allocations: 255.7 kB / 1.533 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.178, allocations: 4 kB / 1.533 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.178, allocations: 7.922 kB / 1.533 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008067/1.179, allocations: 0.5977 MB / 1.533 GB, free: 13.88 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003934/1.183, allocations: 2.038 MB / 1.535 GB, free: 11.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.183, allocations: 4 kB / 1.535 GB, free: 11.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/1.183, allocations: 63.91 kB / 1.536 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/1.183, allocations: 60.75 kB / 1.536 GB, free: 11.6 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/1.183, allocations: 12.41 kB / 1.536 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/1.185, allocations: 1.865 MB / 1.537 GB, free: 9.582 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.185, allocations: 4.031 kB / 1.537 GB, free: 9.578 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/1.187, allocations: 0.9397 MB / 1.538 GB, free: 8.578 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/1.187, allocations: 419.3 kB / 1.539 GB, free: 8.148 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/1.188, allocations: 8 kB / 1.539 GB, free: 8.141 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/1.188, allocations: 23.92 kB / 1.539 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/1.188, allocations: 31.84 kB / 1.539 GB, free: 8.086 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/1.189, allocations: 12 kB / 1.539 GB, free: 8.074 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003618/1.192, allocations: 2.091 MB / 1.541 GB, free: 5.98 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.192, allocations: 0 / 1.541 GB, free: 5.98 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001254/1.193, allocations: 296 kB / 1.541 GB, free: 5.691 MB / 1.217 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.000479/1.194, allocations: 177.5 kB / 1.541 GB, free: 5.52 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001054/1.195, allocations: 0.5101 MB / 1.542 GB, free: 4.996 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.195, allocations: 0 / 1.542 GB, free: 4.996 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/1.195, allocations: 296.7 kB / 1.542 GB, free: 4.695 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/1.199, allocations: 0.9438 MB / 1.543 GB, free: 3.77 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/1.206, allocations: 4.216 MB / 1.547 GB, free: 15.47 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/1.208, allocations: 1.957 MB / 1.549 GB, free: 13.48 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001126/1.209, allocations: 342.8 kB / 1.549 GB, free: 13.14 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.209, allocations: 99.44 kB / 1.549 GB, free: 13.04 MB / 1.232 GB Notification: Performance of SimCode: time 1.513e-06/1.209, allocations: 0 / 1.549 GB, free: 13.04 MB / 1.232 GB Notification: Performance of Templates: time 0.05807/1.267, allocations: 30.3 MB / 1.579 GB, free: 15.18 MB / 1.264 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] 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/jenkins/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.894544878043234]