Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001356/0.001356, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00151/0.00151, allocations: 215.3 kB / 23.01 MB, free: 4.609 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.75/1.75, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.52/3.52, allocations: 0.49 GB / 0.7958 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_12_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_12_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.002399/0.002399, allocations: 63.66 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4264, allocations: 176.1 MB / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2441/0.6705, allocations: 183 MB / 1.506 GB, free: 9.605 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.6905, allocations: 11.09 MB / 1.517 GB, free: 14.49 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003932/0.6944, allocations: 131 kB / 1.517 GB, free: 14.36 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006914/0.7014, allocations: 2.036 MB / 1.519 GB, free: 12.31 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006497/0.7078, allocations: 1.706 MB / 1.521 GB, free: 10.6 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.711, allocations: 0.828 MB / 1.521 GB, free: 9.773 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006519/0.7175, allocations: 3.187 MB / 1.524 GB, free: 6.578 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.7193, allocations: 0.825 MB / 1.525 GB, free: 5.723 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.7223, allocations: 1.338 MB / 1.527 GB, free: 4.379 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.7253, allocations: 1.15 MB / 1.528 GB, free: 3.234 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004362/0.7257, allocations: 124 kB / 1.528 GB, free: 3.113 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.7284, allocations: 0.9823 MB / 1.529 GB, free: 2.129 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006508/0.729, allocations: 493.9 kB / 1.529 GB, free: 1.645 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.7307, allocations: 1.095 MB / 1.53 GB, free: 0.543 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006224/0.737, allocations: 3.506 MB / 1.534 GB, free: 13.02 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.737, allocations: 4 kB / 1.534 GB, free: 13.02 MB / 1.233 GB Notification: Performance of FrontEnd: time 2.054e-06/0.737, allocations: 0 / 1.534 GB, free: 13.02 MB / 1.233 GB Notification: Performance of Transformations before backend: time 7.323e-05/0.737, allocations: 4 kB / 1.534 GB, free: 13.02 MB / 1.233 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.005455/0.7425, allocations: 2.819 MB / 1.537 GB, free: 10.15 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7425, allocations: 16.02 kB / 1.537 GB, free: 10.13 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.7442, allocations: 386 kB / 1.537 GB, free: 9.754 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004345/0.7486, allocations: 1.963 MB / 1.539 GB, free: 7.734 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.7486, allocations: 58 kB / 1.539 GB, free: 7.676 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.7488, allocations: 72 kB / 1.539 GB, free: 7.605 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.7505, allocations: 0.9407 MB / 1.54 GB, free: 6.621 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.7505, allocations: 0 / 1.54 GB, free: 6.621 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.327e-05/0.7506, allocations: 32 kB / 1.54 GB, free: 6.59 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.7506, allocations: 28.94 kB / 1.54 GB, free: 6.562 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.7518, allocations: 0.6986 MB / 1.541 GB, free: 5.863 MB / 1.233 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.00748/0.7593, allocations: 4.407 MB / 1.545 GB, free: 1.25 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/0.7599, allocations: 297.2 kB / 1.545 GB, free: 0.9531 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.7602, allocations: 180.6 kB / 1.545 GB, free: 0.7734 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.7603, allocations: 23.92 kB / 1.545 GB, free: 0.75 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.7604, allocations: 34.56 kB / 1.545 GB, free: 0.707 MB / 1.233 GB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/0.7604, allocations: 3.938 kB / 1.545 GB, free: 0.7031 MB / 1.233 GB Notification: Performance of matching and sorting (n=32): time 0.0038/0.7642, allocations: 1.593 MB / 1.547 GB, free: 15.06 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.7642, allocations: 59.41 kB / 1.547 GB, free: 14.99 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.7689, allocations: 2.949 MB / 1.55 GB, free: 12.03 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/0.769, allocations: 33.64 kB / 1.55 GB, free: 11.99 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.7702, allocations: 1.071 MB / 1.551 GB, free: 10.91 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.7704, allocations: 123 kB / 1.551 GB, free: 10.79 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.7706, allocations: 110.2 kB / 1.551 GB, free: 10.68 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7708, allocations: 326 kB / 1.552 GB, free: 10.35 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.7711, allocations: 165 kB / 1.552 GB, free: 10.19 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.7716, allocations: 366.9 kB / 1.552 GB, free: 9.75 MB / 1.248 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.002347/0.7739, allocations: 1.007 MB / 1.553 GB, free: 8.656 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7739, allocations: 3.938 kB / 1.553 GB, free: 8.652 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00175/0.7757, allocations: 0.8021 MB / 1.554 GB, free: 7.84 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.7757, allocations: 11.94 kB / 1.554 GB, free: 7.828 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.7757, allocations: 7.984 kB / 1.554 GB, free: 7.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.776, allocations: 64.81 kB / 1.554 GB, free: 7.754 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.7763, allocations: 99.83 kB / 1.554 GB, free: 7.656 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.7783, allocations: 1.754 MB / 1.556 GB, free: 5.793 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.7795, allocations: 32 kB / 1.556 GB, free: 5.762 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.7796, allocations: 27.94 kB / 1.556 GB, free: 5.734 MB / 1.248 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.001511/0.7811, allocations: 0.7939 MB / 1.557 GB, free: 4.93 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.7816, allocations: 246.4 kB / 1.557 GB, free: 4.688 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.782, allocations: 251.7 kB / 1.557 GB, free: 4.438 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.782, allocations: 0 / 1.557 GB, free: 4.438 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.7821, allocations: 4 kB / 1.557 GB, free: 4.434 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008203/0.7829, allocations: 0.6009 MB / 1.558 GB, free: 3.762 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/0.7866, allocations: 2.017 MB / 1.56 GB, free: 1.645 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.7866, allocations: 4 kB / 1.56 GB, free: 1.641 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.7869, allocations: 68.31 kB / 1.56 GB, free: 1.574 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.7871, allocations: 60.75 kB / 1.56 GB, free: 1.512 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.7871, allocations: 16 kB / 1.56 GB, free: 1.496 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.789, allocations: 1.762 MB / 1.561 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.789, allocations: 7.938 kB / 1.561 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.7904, allocations: 0.9358 MB / 1.562 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009064/0.7913, allocations: 351.5 kB / 1.563 GB, free: 14.27 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.7915, allocations: 8 kB / 1.563 GB, free: 14.26 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/0.7921, allocations: 19.92 kB / 1.563 GB, free: 14.24 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.7921, allocations: 39.89 kB / 1.563 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.7922, allocations: 12 kB / 1.563 GB, free: 14.19 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003362/0.7955, allocations: 2.083 MB / 1.565 GB, free: 12.1 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7955, allocations: 0 / 1.565 GB, free: 12.1 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001239/0.7968, allocations: 300 kB / 1.565 GB, free: 11.81 MB / 1.264 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.0003717/0.7971, allocations: 159.1 kB / 1.565 GB, free: 11.64 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.7982, allocations: 0.5113 MB / 1.566 GB, free: 11.12 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7982, allocations: 0 / 1.566 GB, free: 11.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.7987, allocations: 302.9 kB / 1.566 GB, free: 10.81 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/0.8022, allocations: 0.9559 MB / 1.567 GB, free: 9.887 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/0.8096, allocations: 4.014 MB / 1.571 GB, free: 5.781 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/0.8113, allocations: 1.823 MB / 1.573 GB, free: 3.926 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.8117, allocations: 107.4 kB / 1.573 GB, free: 3.82 MB / 1.264 GB Notification: Performance of SimCode: time 1.222e-06/0.8117, allocations: 0 / 1.573 GB, free: 3.82 MB / 1.264 GB Notification: Performance of Templates: time 0.8969/1.709, allocations: 43.36 MB / 1.615 GB, free: 275.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.141101669025375]