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.001441/0.001441, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001721/0.001721, allocations: 161.1 kB / 22.46 MB, free: 5.375 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.515e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7031/0.7032, allocations: 157.9 MB / 1.136 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01328/0.7165, allocations: 10.15 MB / 1.146 GB, free: 45.37 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.7193, allocations: 129.3 kB / 1.146 GB, free: 45.37 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005411/0.7247, allocations: 1.908 MB / 1.148 GB, free: 45.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.7293, allocations: 1.729 MB / 1.149 GB, free: 45.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.7315, allocations: 0.8195 MB / 1.15 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004418/0.736, allocations: 3.264 MB / 1.153 GB, free: 44.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.7376, allocations: 0.9635 MB / 1.154 GB, free: 44.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.7409, allocations: 1.747 MB / 1.156 GB, free: 44.37 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.743, allocations: 0.9513 MB / 1.157 GB, free: 44.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.7434, allocations: 127.4 kB / 1.157 GB, free: 44.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.7452, allocations: 0.7844 MB / 1.158 GB, free: 44.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.7456, allocations: 0.4984 MB / 1.158 GB, free: 44.06 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009775/0.7466, allocations: 0.6452 MB / 1.159 GB, free: 43.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.7513, allocations: 3.404 MB / 1.162 GB, free: 43.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/0.7513, allocations: 0.9062 kB / 1.162 GB, free: 43.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7513, allocations: 0 / 1.162 GB, free: 43.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.106e-05/0.7514, allocations: 0 / 1.162 GB, free: 43.57 MB / 1.076 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.004058/0.7554, allocations: 2.793 MB / 1.165 GB, free: 42.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7555, allocations: 11.44 kB / 1.165 GB, free: 42.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.757, allocations: 391.9 kB / 1.165 GB, free: 42 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.7601, allocations: 1.947 MB / 1.167 GB, free: 41.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.7601, allocations: 58 kB / 1.167 GB, free: 41.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.7602, allocations: 87.45 kB / 1.167 GB, free: 41.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.7615, allocations: 1.045 MB / 1.168 GB, free: 41.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.7615, allocations: 3.594 kB / 1.168 GB, free: 41.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/0.7616, allocations: 33.31 kB / 1.168 GB, free: 41.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.7616, allocations: 24.62 kB / 1.168 GB, free: 41.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.7626, allocations: 0.7014 MB / 1.169 GB, free: 41.14 MB / 1.076 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.005077/0.7677, allocations: 3.467 MB / 1.173 GB, free: 39.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.7681, allocations: 299 kB / 1.173 GB, free: 39.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.7684, allocations: 169.2 kB / 1.173 GB, free: 39.81 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.7685, allocations: 28.41 kB / 1.173 GB, free: 39.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.7686, allocations: 36.72 kB / 1.173 GB, free: 39.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 2.395e-06/0.7686, allocations: 0.8125 kB / 1.173 GB, free: 39.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=32): time 0.003006/0.7716, allocations: 1.579 MB / 1.175 GB, free: 39.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.7716, allocations: 55.56 kB / 1.175 GB, free: 39.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.7749, allocations: 2.739 MB / 1.177 GB, free: 38.85 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.7749, allocations: 35.95 kB / 1.177 GB, free: 38.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008431/0.7758, allocations: 1.055 MB / 1.178 GB, free: 38.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.7759, allocations: 126.2 kB / 1.178 GB, free: 38.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.7761, allocations: 106.8 kB / 1.179 GB, free: 38.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.7761, allocations: 327.6 kB / 1.179 GB, free: 38.15 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.7764, allocations: 169 kB / 1.179 GB, free: 38.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.7768, allocations: 446.1 kB / 1.179 GB, free: 37.82 MB / 1.076 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.002199/0.779, allocations: 0.9974 MB / 1.18 GB, free: 37.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.779, allocations: 3.219 kB / 1.18 GB, free: 37.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001265/0.7803, allocations: 0.7925 MB / 1.181 GB, free: 37.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.7803, allocations: 11.75 kB / 1.181 GB, free: 37.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.7803, allocations: 6.766 kB / 1.181 GB, free: 37.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.7805, allocations: 65.58 kB / 1.181 GB, free: 37.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.7809, allocations: 105.5 kB / 1.181 GB, free: 37.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.7822, allocations: 1.726 MB / 1.183 GB, free: 36.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/0.7832, allocations: 28.36 kB / 1.183 GB, free: 36.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.7833, allocations: 25.44 kB / 1.183 GB, free: 36.08 MB / 1.076 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.00116/0.7844, allocations: 0.799 MB / 1.184 GB, free: 35.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.7847, allocations: 226.8 kB / 1.184 GB, free: 35.83 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.785, allocations: 242.3 kB / 1.184 GB, free: 35.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.785, allocations: 2.906 kB / 1.184 GB, free: 35.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.785, allocations: 2.062 kB / 1.184 GB, free: 35.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006435/0.7857, allocations: 0.5984 MB / 1.185 GB, free: 35.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.7885, allocations: 1.787 MB / 1.187 GB, free: 35.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7885, allocations: 4.453 kB / 1.187 GB, free: 35.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.7889, allocations: 64.03 kB / 1.187 GB, free: 35.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.789, allocations: 63.3 kB / 1.187 GB, free: 35.06 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.7891, allocations: 20.53 kB / 1.187 GB, free: 35.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.7903, allocations: 1.729 MB / 1.189 GB, free: 33.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7903, allocations: 5.031 kB / 1.189 GB, free: 33.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.7917, allocations: 0.9185 MB / 1.189 GB, free: 33.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007975/0.7925, allocations: 327 kB / 1.19 GB, free: 33.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.7927, allocations: 15.7 kB / 1.19 GB, free: 33.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.7933, allocations: 12.84 kB / 1.19 GB, free: 33.19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.7934, allocations: 35.39 kB / 1.19 GB, free: 33.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.7934, allocations: 14.89 kB / 1.19 GB, free: 33.19 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003203/0.7966, allocations: 1.934 MB / 1.192 GB, free: 33.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7966, allocations: 0.9062 kB / 1.192 GB, free: 33.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001168/0.7978, allocations: 297.4 kB / 1.192 GB, free: 33.04 MB / 1.076 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.0003184/0.7981, allocations: 157.1 kB / 1.192 GB, free: 32.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008813/0.799, allocations: 0.5109 MB / 1.193 GB, free: 32.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.799, allocations: 1.891 kB / 1.193 GB, free: 32.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.7994, allocations: 293.3 kB / 1.193 GB, free: 32.72 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/0.8029, allocations: 0.8592 MB / 1.194 GB, free: 32.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.8088, allocations: 4.08 MB / 1.198 GB, free: 31.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.8105, allocations: 1.383 MB / 1.199 GB, free: 30.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001291/0.8118, allocations: 317.5 kB / 1.199 GB, free: 30.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.812, allocations: 95.64 kB / 1.2 GB, free: 30.94 MB / 1.076 GB Notification: Performance of SimCode: time 8.52e-07/0.812, allocations: 1.375 kB / 1.2 GB, free: 30.94 MB / 1.076 GB Notification: Performance of Templates: time 0.05112/0.8632, allocations: 28.78 MB / 1.228 GB, free: 27.87 MB / 1.076 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 -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/jenkins/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.404496762901545]