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.001357/0.001357, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001521/0.001521, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.002128/0.002128, allocations: 71.23 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 176.1 MB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.199/0.5233, allocations: 158 MB / 1.481 GB, free: 2.316 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.5405, allocations: 10.16 MB / 1.491 GB, free: 8.129 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.5435, allocations: 127 kB / 1.491 GB, free: 8.004 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006087/0.5496, allocations: 1.881 MB / 1.493 GB, free: 6.113 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005024/0.5546, allocations: 1.686 MB / 1.495 GB, free: 4.418 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.5575, allocations: 0.8045 MB / 1.496 GB, free: 3.617 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006178/0.5636, allocations: 3.188 MB / 1.499 GB, free: 432 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.5653, allocations: 0.969 MB / 1.5 GB, free: 15.42 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/0.5679, allocations: 1.338 MB / 1.501 GB, free: 14.08 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.5701, allocations: 1.141 MB / 1.502 GB, free: 12.94 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.5705, allocations: 128 kB / 1.502 GB, free: 12.81 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.5724, allocations: 0.7834 MB / 1.503 GB, free: 12.03 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006317/0.573, allocations: 497.9 kB / 1.504 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.5742, allocations: 0.8195 MB / 1.504 GB, free: 10.71 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.5791, allocations: 3.486 MB / 1.508 GB, free: 7.215 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.5791, allocations: 4 kB / 1.508 GB, free: 7.211 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5791, allocations: 0 / 1.508 GB, free: 7.211 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.767e-05/0.5792, allocations: 8 kB / 1.508 GB, free: 7.203 MB / 1.201 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.005123/0.5843, allocations: 2.819 MB / 1.511 GB, free: 4.336 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5843, allocations: 16.03 kB / 1.511 GB, free: 4.32 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.586, allocations: 394 kB / 1.511 GB, free: 3.934 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/0.5898, allocations: 1.947 MB / 1.513 GB, free: 1.93 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.5898, allocations: 62 kB / 1.513 GB, free: 1.867 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.59, allocations: 72 kB / 1.513 GB, free: 1.797 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.5916, allocations: 1.041 MB / 1.514 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.5916, allocations: 0 / 1.514 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-05/0.5917, allocations: 35.94 kB / 1.514 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.5918, allocations: 32.94 kB / 1.514 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.593, allocations: 0.6986 MB / 1.515 GB, free: 15.92 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.00595/0.5989, allocations: 3.466 MB / 1.518 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.5994, allocations: 298.7 kB / 1.518 GB, free: 12.08 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.5997, allocations: 171.4 kB / 1.519 GB, free: 11.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.5999, allocations: 23.98 kB / 1.519 GB, free: 11.89 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.5999, allocations: 42.5 kB / 1.519 GB, free: 11.84 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.5999, allocations: 0 / 1.519 GB, free: 11.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003433/0.6033, allocations: 1.581 MB / 1.52 GB, free: 10.21 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.6034, allocations: 55.41 kB / 1.52 GB, free: 10.14 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.6072, allocations: 2.741 MB / 1.523 GB, free: 7.391 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.6072, allocations: 33.7 kB / 1.523 GB, free: 7.352 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.6082, allocations: 1.062 MB / 1.524 GB, free: 6.281 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.6084, allocations: 123 kB / 1.524 GB, free: 6.16 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.6086, allocations: 110.2 kB / 1.524 GB, free: 6.043 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6087, allocations: 337.9 kB / 1.525 GB, free: 5.707 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.609, allocations: 161.1 kB / 1.525 GB, free: 5.551 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.6095, allocations: 444 kB / 1.525 GB, free: 5.016 MB / 1.217 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.002232/0.6117, allocations: 1.009 MB / 1.526 GB, free: 3.922 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6117, allocations: 4 kB / 1.526 GB, free: 3.918 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001403/0.6131, allocations: 0.7861 MB / 1.527 GB, free: 3.121 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.6132, allocations: 8 kB / 1.527 GB, free: 3.113 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6132, allocations: 4 kB / 1.527 GB, free: 3.109 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.6134, allocations: 69.44 kB / 1.527 GB, free: 3.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.6138, allocations: 99.84 kB / 1.527 GB, free: 2.941 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.6155, allocations: 1.727 MB / 1.529 GB, free: 1.117 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/0.6165, allocations: 27.94 kB / 1.529 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.6165, allocations: 24 kB / 1.529 GB, free: 1.066 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.001284/0.6178, allocations: 0.7979 MB / 1.53 GB, free: 264 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.6182, allocations: 226.5 kB / 1.53 GB, free: 36 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.6187, allocations: 242.3 kB / 1.53 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6187, allocations: 7.938 kB / 1.53 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.6187, allocations: 4 kB / 1.53 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007926/0.6195, allocations: 0.5892 MB / 1.531 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.6227, allocations: 1.792 MB / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.6227, allocations: 0 / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.6231, allocations: 67.91 kB / 1.532 GB, free: 13.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.6232, allocations: 61.09 kB / 1.532 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.6233, allocations: 15.94 kB / 1.532 GB, free: 13.1 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.625, allocations: 1.731 MB / 1.534 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/0.625, allocations: 7.938 kB / 1.534 GB, free: 11.26 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.6265, allocations: 0.9193 MB / 1.535 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008453/0.6273, allocations: 331.6 kB / 1.535 GB, free: 9.953 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.6275, allocations: 12 kB / 1.535 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.6281, allocations: 16.59 kB / 1.535 GB, free: 9.926 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.6281, allocations: 35.83 kB / 1.535 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.6282, allocations: 16 kB / 1.535 GB, free: 9.875 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002891/0.631, allocations: 1.934 MB / 1.537 GB, free: 7.934 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6311, allocations: 0 / 1.537 GB, free: 7.934 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001225/0.6323, allocations: 292 kB / 1.538 GB, free: 7.648 MB / 1.232 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.0003593/0.6326, allocations: 163 kB / 1.538 GB, free: 7.48 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009923/0.6336, allocations: 0.5152 MB / 1.538 GB, free: 6.953 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6336, allocations: 0 / 1.538 GB, free: 6.953 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.6341, allocations: 296.1 kB / 1.539 GB, free: 6.652 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.6373, allocations: 0.8583 MB / 1.539 GB, free: 5.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.6441, allocations: 4.177 MB / 1.543 GB, free: 1.555 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/0.6458, allocations: 1.38 MB / 1.545 GB, free: 132 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001174/0.647, allocations: 317.3 kB / 1.545 GB, free: 15.81 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.6472, allocations: 95.44 kB / 1.545 GB, free: 15.72 MB / 1.248 GB Notification: Performance of SimCode: time 8.62e-07/0.6472, allocations: 0 / 1.545 GB, free: 15.72 MB / 1.248 GB Notification: Performance of Templates: time 0.05458/0.7018, allocations: 32.12 MB / 1.577 GB, free: 264 kB / 1.264 GB " [Timeout remaining time 299] 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 -s cvode -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: 9.520931021994329]