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.001624/0.001624, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001785/0.001785, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.753/2.753, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002151/0.002151, allocations: 70.08 kB / 0.9821 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7926, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1883/0.9808, allocations: 158 MB / 1.308 GB, free: 6.699 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.998, allocations: 10.15 MB / 1.318 GB, free: 14.66 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/1.001, allocations: 131.9 kB / 1.318 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005594/1.006, allocations: 1.888 MB / 1.32 GB, free: 13.34 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004668/1.011, allocations: 1.676 MB / 1.322 GB, free: 12 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/1.013, allocations: 0.806 MB / 1.323 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004856/1.018, allocations: 3.18 MB / 1.326 GB, free: 8.852 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/1.019, allocations: 0.9612 MB / 1.327 GB, free: 7.859 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/1.022, allocations: 1.338 MB / 1.328 GB, free: 6.516 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/1.024, allocations: 1.137 MB / 1.329 GB, free: 5.379 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/1.024, allocations: 128 kB / 1.329 GB, free: 5.254 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/1.026, allocations: 0.7794 MB / 1.33 GB, free: 4.473 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000586/1.027, allocations: 485.9 kB / 1.33 GB, free: 3.996 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/1.028, allocations: 0.8273 MB / 1.331 GB, free: 3.164 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006707/1.035, allocations: 3.494 MB / 1.335 GB, free: 15.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.035, allocations: 3.938 kB / 1.335 GB, free: 15.65 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.502e-06/1.035, allocations: 0 / 1.335 GB, free: 15.65 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.23e-05/1.035, allocations: 0 / 1.335 GB, free: 15.65 MB / 1.186 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.006205/1.041, allocations: 2.823 MB / 1.337 GB, free: 12.78 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.041, allocations: 12.03 kB / 1.337 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/1.043, allocations: 394 kB / 1.338 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005527/1.049, allocations: 1.943 MB / 1.34 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.555e-05/1.049, allocations: 58 kB / 1.34 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/1.049, allocations: 75.94 kB / 1.34 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/1.052, allocations: 1.045 MB / 1.341 GB, free: 9.141 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/1.052, allocations: 7.922 kB / 1.341 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/1.052, allocations: 32 kB / 1.341 GB, free: 9.102 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/1.052, allocations: 28.94 kB / 1.341 GB, free: 9.07 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.054, allocations: 0.6947 MB / 1.342 GB, free: 8.379 MB / 1.186 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.008113/1.062, allocations: 3.473 MB / 1.345 GB, free: 4.828 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/1.063, allocations: 299.7 kB / 1.345 GB, free: 4.527 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/1.063, allocations: 168.8 kB / 1.345 GB, free: 4.359 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/1.063, allocations: 23.98 kB / 1.345 GB, free: 4.336 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/1.063, allocations: 38.56 kB / 1.345 GB, free: 4.289 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 2.915e-06/1.063, allocations: 0 / 1.345 GB, free: 4.289 MB / 1.186 GB Notification: Performance of matching and sorting (n=32): time 0.004591/1.068, allocations: 1.587 MB / 1.347 GB, free: 2.66 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/1.068, allocations: 55.41 kB / 1.347 GB, free: 2.594 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00577/1.074, allocations: 2.741 MB / 1.35 GB, free: 15.84 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/1.074, allocations: 29.7 kB / 1.35 GB, free: 15.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.075, allocations: 1.058 MB / 1.351 GB, free: 14.74 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/1.076, allocations: 127 kB / 1.351 GB, free: 14.61 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/1.076, allocations: 118.2 kB / 1.351 GB, free: 14.49 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002286/1.076, allocations: 326 kB / 1.351 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/1.077, allocations: 161.1 kB / 1.351 GB, free: 14.01 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/1.077, allocations: 451.5 kB / 1.352 GB, free: 13.46 MB / 1.201 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.003441/1.081, allocations: 0.998 MB / 1.353 GB, free: 12.38 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.081, allocations: 8 kB / 1.353 GB, free: 12.37 MB / 1.201 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002026/1.083, allocations: 0.794 MB / 1.354 GB, free: 11.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.083, allocations: 14.28 kB / 1.354 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/1.083, allocations: 8 kB / 1.354 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/1.083, allocations: 56.83 kB / 1.354 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/1.084, allocations: 104.4 kB / 1.354 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/1.086, allocations: 1.735 MB / 1.356 GB, free: 9.555 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.088, allocations: 27.94 kB / 1.356 GB, free: 9.527 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/1.088, allocations: 24 kB / 1.356 GB, free: 9.504 MB / 1.201 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.001718/1.089, allocations: 0.7939 MB / 1.356 GB, free: 8.699 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/1.09, allocations: 230.6 kB / 1.357 GB, free: 8.473 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/1.09, allocations: 238.2 kB / 1.357 GB, free: 8.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.09, allocations: 0 / 1.357 GB, free: 8.23 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.09, allocations: 4 kB / 1.357 GB, free: 8.227 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/1.091, allocations: 0.5969 MB / 1.357 GB, free: 7.559 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/1.095, allocations: 1.797 MB / 1.359 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.095, allocations: 0 / 1.359 GB, free: 5.684 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/1.096, allocations: 67.91 kB / 1.359 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/1.096, allocations: 60.77 kB / 1.359 GB, free: 5.555 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/1.096, allocations: 11.98 kB / 1.359 GB, free: 5.543 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/1.098, allocations: 1.716 MB / 1.361 GB, free: 3.727 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/1.098, allocations: 15.89 kB / 1.361 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.1, allocations: 0.9162 MB / 1.362 GB, free: 2.738 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000712/1.1, allocations: 327.6 kB / 1.362 GB, free: 2.418 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/1.101, allocations: 8 kB / 1.362 GB, free: 2.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/1.101, allocations: 21.94 kB / 1.362 GB, free: 2.391 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/1.101, allocations: 35.83 kB / 1.362 GB, free: 2.355 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/1.101, allocations: 20.12 kB / 1.362 GB, free: 2.336 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002924/1.104, allocations: 1.934 MB / 1.364 GB, free: 404 kB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/1.104, allocations: 0 / 1.364 GB, free: 404 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.001036/1.105, allocations: 292 kB / 1.364 GB, free: 112 kB / 1.201 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.0003084/1.105, allocations: 155.1 kB / 1.365 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009843/1.106, allocations: 0.5178 MB / 1.365 GB, free: 15.42 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.106, allocations: 1.625 kB / 1.365 GB, free: 15.42 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/1.107, allocations: 299.2 kB / 1.365 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/1.11, allocations: 0.8611 MB / 1.366 GB, free: 14.28 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/1.117, allocations: 4.18 MB / 1.37 GB, free: 10.01 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/1.118, allocations: 1.384 MB / 1.372 GB, free: 8.582 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001033/1.119, allocations: 317.3 kB / 1.372 GB, free: 8.266 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/1.12, allocations: 96.5 kB / 1.372 GB, free: 8.172 MB / 1.217 GB Notification: Performance of SimCode: time 7.72e-07/1.12, allocations: 0 / 1.372 GB, free: 8.172 MB / 1.217 GB Notification: Performance of Templates: time 0.06192/1.182, allocations: 29.09 MB / 1.4 GB, free: 11.76 MB / 1.248 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 ida -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.455986064043827]