Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001742/0.001742, allocations: 118.5 kB / 17.13 MB, free: 5.758 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.001828/0.001828, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.593/1.593, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.02/3.02, allocations: 443.5 MB / 0.7293 GB, free: 14.68 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 71.88 kB / 1.057 GB, free: 2 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4409, allocations: 160.7 MB / 1.214 GB, free: 0.9648 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 1.161/1.602, allocations: 179.9 MB / 1.39 GB, free: 2.324 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0221/1.624, allocations: 11 MB / 1.401 GB, free: 9.422 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004887/1.629, allocations: 94.91 kB / 1.401 GB, free: 9.391 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007573/1.637, allocations: 2.028 MB / 1.403 GB, free: 7.996 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007392/1.644, allocations: 1.658 MB / 1.404 GB, free: 6.668 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/1.648, allocations: 0.7994 MB / 1.405 GB, free: 6.047 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007334/1.655, allocations: 3.137 MB / 1.408 GB, free: 4.195 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002435/1.657, allocations: 1.044 MB / 1.409 GB, free: 3.586 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/1.661, allocations: 1.16 MB / 1.41 GB, free: 2.922 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/1.664, allocations: 1.145 MB / 1.411 GB, free: 2.219 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005223/1.665, allocations: 129 kB / 1.411 GB, free: 2.219 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/1.668, allocations: 0.9668 MB / 1.412 GB, free: 1.719 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006806/1.668, allocations: 494.9 kB / 1.413 GB, free: 1.359 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001938/1.67, allocations: 1.092 MB / 1.414 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00732/1.678, allocations: 3.497 MB / 1.417 GB, free: 14.32 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/1.678, allocations: 2.125 kB / 1.417 GB, free: 14.32 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.687e-06/1.678, allocations: 0 / 1.417 GB, free: 14.32 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001042/1.678, allocations: 0 / 1.417 GB, free: 14.32 MB / 1.092 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.007209/1.685, allocations: 2.889 MB / 1.42 GB, free: 12.16 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.685, allocations: 10.28 kB / 1.42 GB, free: 12.16 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/1.687, allocations: 391.9 kB / 1.421 GB, free: 11.96 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/1.692, allocations: 2.034 MB / 1.423 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/1.692, allocations: 59.44 kB / 1.423 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.692, allocations: 73.31 kB / 1.423 GB, free: 10.49 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/1.694, allocations: 0.9431 MB / 1.424 GB, free: 9.891 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/1.694, allocations: 6.781 kB / 1.424 GB, free: 9.887 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/1.694, allocations: 35.34 kB / 1.424 GB, free: 9.859 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/1.694, allocations: 23.62 kB / 1.424 GB, free: 9.855 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/1.695, allocations: 0.7031 MB / 1.424 GB, free: 9.508 MB / 1.092 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.008246/1.703, allocations: 4.461 MB / 1.429 GB, free: 5.148 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/1.704, allocations: 298.6 kB / 1.429 GB, free: 4.848 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/1.704, allocations: 169.2 kB / 1.429 GB, free: 4.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/1.704, allocations: 105.1 kB / 1.429 GB, free: 4.559 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/1.705, allocations: 35.06 kB / 1.429 GB, free: 4.516 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/1.705, allocations: 0 / 1.429 GB, free: 4.516 MB / 1.092 GB Notification: Performance of matching and sorting (n=32): time 0.003752/1.708, allocations: 1.747 MB / 1.431 GB, free: 2.691 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.708, allocations: 59.39 kB / 1.431 GB, free: 2.621 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004462/1.713, allocations: 2.945 MB / 1.434 GB, free: 15.66 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/1.713, allocations: 33.7 kB / 1.434 GB, free: 15.62 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.714, allocations: 1.071 MB / 1.435 GB, free: 14.54 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/1.714, allocations: 123 kB / 1.435 GB, free: 14.42 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/1.714, allocations: 110.2 kB / 1.435 GB, free: 14.31 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.715, allocations: 326 kB / 1.436 GB, free: 13.98 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.715, allocations: 161 kB / 1.436 GB, free: 13.82 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/1.715, allocations: 381 kB / 1.436 GB, free: 13.37 MB / 1.108 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.002336/1.718, allocations: 1.068 MB / 1.437 GB, free: 12.2 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.718, allocations: 4 kB / 1.437 GB, free: 12.2 MB / 1.108 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001527/1.719, allocations: 0.809 MB / 1.438 GB, free: 11.38 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.719, allocations: 12.16 kB / 1.438 GB, free: 11.36 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.719, allocations: 8 kB / 1.438 GB, free: 11.36 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/1.72, allocations: 60.81 kB / 1.438 GB, free: 11.29 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/1.72, allocations: 99.84 kB / 1.438 GB, free: 11.2 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/1.722, allocations: 1.875 MB / 1.44 GB, free: 9.188 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.723, allocations: 27.44 kB / 1.44 GB, free: 9.164 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/1.723, allocations: 27.98 kB / 1.44 GB, free: 9.137 MB / 1.108 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.001468/1.725, allocations: 0.794 MB / 1.441 GB, free: 8.332 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/1.725, allocations: 250.3 kB / 1.441 GB, free: 8.086 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/1.725, allocations: 251.7 kB / 1.441 GB, free: 7.836 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.725, allocations: 4 kB / 1.441 GB, free: 7.832 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.725, allocations: 0 / 1.441 GB, free: 7.832 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008034/1.726, allocations: 0.6016 MB / 1.442 GB, free: 7.16 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/1.729, allocations: 2.036 MB / 1.444 GB, free: 5.016 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.729, allocations: 4 kB / 1.444 GB, free: 5.012 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/1.73, allocations: 67.84 kB / 1.444 GB, free: 4.949 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001728/1.73, allocations: 57.31 kB / 1.444 GB, free: 4.891 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/1.73, allocations: 19.98 kB / 1.444 GB, free: 4.871 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/1.732, allocations: 1.861 MB / 1.446 GB, free: 2.871 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.732, allocations: 7.938 kB / 1.446 GB, free: 2.863 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/1.733, allocations: 0.9387 MB / 1.447 GB, free: 1.863 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008256/1.734, allocations: 419.3 kB / 1.447 GB, free: 1.434 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.734, allocations: 16 kB / 1.447 GB, free: 1.418 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/1.735, allocations: 11.98 kB / 1.447 GB, free: 1.406 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/1.735, allocations: 35.84 kB / 1.447 GB, free: 1.371 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/1.735, allocations: 12 kB / 1.447 GB, free: 1.359 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.003351/1.738, allocations: 2.087 MB / 1.449 GB, free: 15.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/1.738, allocations: 0 / 1.449 GB, free: 15.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001174/1.739, allocations: 300 kB / 1.449 GB, free: 14.98 MB / 1.123 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.0005387/1.74, allocations: 176.5 kB / 1.45 GB, free: 14.81 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001029/1.741, allocations: 0.5114 MB / 1.45 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.741, allocations: 3.938 kB / 1.45 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004311/1.741, allocations: 301.3 kB / 1.45 GB, free: 13.98 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.745, allocations: 0.9435 MB / 1.451 GB, free: 13.07 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0073/1.752, allocations: 4.022 MB / 1.455 GB, free: 8.957 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.754, allocations: 1.82 MB / 1.457 GB, free: 7.105 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/1.754, allocations: 107.4 kB / 1.457 GB, free: 7 MB / 1.123 GB Notification: Performance of SimCode: time 2.074e-06/1.754, allocations: 0 / 1.457 GB, free: 7 MB / 1.123 GB Notification: Performance of Templates: time 0.07379/1.828, allocations: 43.37 MB / 1.5 GB, free: 11.84 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.095909506781027]