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.001835/0.001835, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002563/0.002563, allocations: 221 kB / 23 MB, free: 4.918 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.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 3.451/3.451, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 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.002092/0.002092, allocations: 67.25 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 181.9 MB / 1.365 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2149/0.5863, allocations: 158 MB / 1.519 GB, free: 14.93 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.6051, allocations: 10.17 MB / 1.529 GB, free: 4.73 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003985/0.6091, allocations: 127 kB / 1.529 GB, free: 4.605 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0065/0.6156, allocations: 1.881 MB / 1.531 GB, free: 2.715 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005824/0.6215, allocations: 1.682 MB / 1.533 GB, free: 1.023 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.6242, allocations: 0.7914 MB / 1.533 GB, free: 240 kB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005567/0.6298, allocations: 3.181 MB / 1.536 GB, free: 13.05 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.6315, allocations: 0.9495 MB / 1.537 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.6345, allocations: 1.342 MB / 1.539 GB, free: 10.72 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.6374, allocations: 1.131 MB / 1.54 GB, free: 9.586 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/0.6377, allocations: 128 kB / 1.54 GB, free: 9.461 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.6398, allocations: 0.7756 MB / 1.541 GB, free: 8.684 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005967/0.6404, allocations: 493.8 kB / 1.541 GB, free: 8.199 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.6418, allocations: 0.8312 MB / 1.542 GB, free: 7.363 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005703/0.6475, allocations: 3.478 MB / 1.545 GB, free: 3.871 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6475, allocations: 4 kB / 1.545 GB, free: 3.867 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6475, allocations: 0 / 1.545 GB, free: 3.867 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.312e-05/0.6475, allocations: 0 / 1.545 GB, free: 3.867 MB / 1.232 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.004993/0.6525, allocations: 2.83 MB / 1.548 GB, free: 0.9883 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6526, allocations: 12.03 kB / 1.548 GB, free: 0.9766 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.6541, allocations: 393.9 kB / 1.548 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/0.6579, allocations: 1.947 MB / 1.55 GB, free: 14.59 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.6579, allocations: 54 kB / 1.55 GB, free: 14.53 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6581, allocations: 80 kB / 1.55 GB, free: 14.45 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.6598, allocations: 1.037 MB / 1.551 GB, free: 13.35 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.6598, allocations: 4 kB / 1.551 GB, free: 13.34 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.6599, allocations: 32 kB / 1.552 GB, free: 13.31 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.6599, allocations: 32.94 kB / 1.552 GB, free: 13.28 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.6611, allocations: 0.6985 MB / 1.552 GB, free: 12.58 MB / 1.248 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.006198/0.6673, allocations: 3.478 MB / 1.556 GB, free: 9.027 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.6678, allocations: 305.6 kB / 1.556 GB, free: 8.723 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.6681, allocations: 172.7 kB / 1.556 GB, free: 8.551 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.6683, allocations: 19.98 kB / 1.556 GB, free: 8.531 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.6683, allocations: 38.5 kB / 1.556 GB, free: 8.484 MB / 1.248 GB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.6683, allocations: 0 / 1.556 GB, free: 8.484 MB / 1.248 GB Notification: Performance of matching and sorting (n=32): time 0.00341/0.6717, allocations: 1.574 MB / 1.558 GB, free: 6.867 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.6718, allocations: 55.41 kB / 1.558 GB, free: 6.801 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004165/0.6759, allocations: 2.749 MB / 1.56 GB, free: 4.039 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.676, allocations: 33.7 kB / 1.56 GB, free: 4 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.6772, allocations: 1.058 MB / 1.561 GB, free: 2.934 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.6774, allocations: 123 kB / 1.562 GB, free: 2.812 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.6776, allocations: 114.2 kB / 1.562 GB, free: 2.691 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6778, allocations: 330 kB / 1.562 GB, free: 2.363 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.6781, allocations: 169 kB / 1.562 GB, free: 2.195 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.6786, allocations: 444 kB / 1.563 GB, free: 1.66 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.002251/0.6808, allocations: 1.005 MB / 1.564 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6808, allocations: 0 / 1.564 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0014/0.6822, allocations: 0.7983 MB / 1.564 GB, free: 15.76 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.6823, allocations: 10.03 kB / 1.564 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6823, allocations: 8.031 kB / 1.564 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.6825, allocations: 64.75 kB / 1.564 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.6829, allocations: 95.84 kB / 1.565 GB, free: 15.59 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.6848, allocations: 1.727 MB / 1.566 GB, free: 13.76 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/0.6857, allocations: 27.94 kB / 1.566 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.6857, allocations: 28.06 kB / 1.566 GB, free: 13.71 MB / 1.264 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.001286/0.687, allocations: 0.7939 MB / 1.567 GB, free: 12.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.6873, allocations: 226.5 kB / 1.567 GB, free: 12.68 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.6877, allocations: 242.2 kB / 1.567 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6877, allocations: 4 kB / 1.568 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6877, allocations: 0 / 1.568 GB, free: 12.43 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007904/0.6885, allocations: 0.5977 MB / 1.568 GB, free: 11.76 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.6916, allocations: 1.792 MB / 1.57 GB, free: 9.891 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6916, allocations: 4 kB / 1.57 GB, free: 9.887 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.6919, allocations: 64.31 kB / 1.57 GB, free: 9.824 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.6921, allocations: 64.75 kB / 1.57 GB, free: 9.758 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.6921, allocations: 12 kB / 1.57 GB, free: 9.746 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.6938, allocations: 1.731 MB / 1.572 GB, free: 7.91 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6938, allocations: 7.938 kB / 1.572 GB, free: 7.902 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.6951, allocations: 0.9194 MB / 1.573 GB, free: 6.926 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007647/0.6958, allocations: 331.5 kB / 1.573 GB, free: 6.602 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.696, allocations: 15.94 kB / 1.573 GB, free: 6.586 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.6966, allocations: 11.98 kB / 1.573 GB, free: 6.574 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.6966, allocations: 39.83 kB / 1.573 GB, free: 6.535 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.6966, allocations: 12 kB / 1.573 GB, free: 6.523 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003065/0.6997, allocations: 1.934 MB / 1.575 GB, free: 4.582 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6997, allocations: 0 / 1.575 GB, free: 4.582 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001129/0.7008, allocations: 296 kB / 1.575 GB, free: 4.293 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.0003714/0.7012, allocations: 161.5 kB / 1.575 GB, free: 4.129 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.7022, allocations: 0.5076 MB / 1.576 GB, free: 3.609 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7022, allocations: 4 kB / 1.576 GB, free: 3.605 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.7027, allocations: 294.4 kB / 1.576 GB, free: 3.305 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/0.7059, allocations: 0.861 MB / 1.577 GB, free: 2.465 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.7127, allocations: 3.983 MB / 1.581 GB, free: 14.39 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.7141, allocations: 1.254 MB / 1.582 GB, free: 13.09 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003369/0.7144, allocations: 95.44 kB / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/0.7144, allocations: 0 / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of Templates: time 0.851/1.565, allocations: 42.73 MB / 1.624 GB, free: 241.3 MB / 1.295 GB " [Timeout remaining time 298] 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 -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: 19.96095901215449]