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.001929/0.001929, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002414/0.002414, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.627/1.627, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.377/3.377, allocations: 0.49 GB / 0.7959 GB, free: 35.31 MB / 0.6231 GB " [Timeout remaining time 176] 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.002052/0.002052, allocations: 66.95 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4422, allocations: 176.1 MB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2206/0.6627, allocations: 158 MB / 1.482 GB, free: 2.328 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01895/0.6817, allocations: 10.15 MB / 1.491 GB, free: 8.152 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.6855, allocations: 127 kB / 1.492 GB, free: 8.027 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006397/0.6919, allocations: 1.877 MB / 1.493 GB, free: 6.141 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.6976, allocations: 1.687 MB / 1.495 GB, free: 4.445 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.7003, allocations: 0.8034 MB / 1.496 GB, free: 3.645 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005375/0.7057, allocations: 3.173 MB / 1.499 GB, free: 476 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.7073, allocations: 0.9534 MB / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.71, allocations: 1.342 MB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.7124, allocations: 1.137 MB / 1.502 GB, free: 13 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.7126, allocations: 124 kB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.7145, allocations: 0.7756 MB / 1.503 GB, free: 12.1 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005745/0.715, allocations: 489.9 kB / 1.504 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.7161, allocations: 0.8312 MB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00467/0.7208, allocations: 3.49 MB / 1.508 GB, free: 7.277 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7208, allocations: 4 kB / 1.508 GB, free: 7.273 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7208, allocations: 0 / 1.508 GB, free: 7.273 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.991e-05/0.7208, allocations: 0 / 1.508 GB, free: 7.273 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.004525/0.7254, allocations: 2.831 MB / 1.511 GB, free: 4.395 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7254, allocations: 8.031 kB / 1.511 GB, free: 4.387 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.7269, allocations: 390 kB / 1.511 GB, free: 4.004 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/0.7304, allocations: 1.943 MB / 1.513 GB, free: 2.004 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.766e-05/0.7305, allocations: 61.94 kB / 1.513 GB, free: 1.941 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.7306, allocations: 80 kB / 1.513 GB, free: 1.863 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.7322, allocations: 1.041 MB / 1.514 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.7323, allocations: 7.984 kB / 1.514 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/0.7324, allocations: 32 kB / 1.514 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.7324, allocations: 28.94 kB / 1.514 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.7336, allocations: 0.6986 MB / 1.515 GB, free: 15.98 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.005367/0.7389, allocations: 3.47 MB / 1.518 GB, free: 12.44 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.7395, allocations: 306.6 kB / 1.518 GB, free: 12.13 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.7397, allocations: 168.8 kB / 1.519 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.7399, allocations: 23.98 kB / 1.519 GB, free: 11.94 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.7399, allocations: 30.56 kB / 1.519 GB, free: 11.9 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.7399, allocations: 0 / 1.519 GB, free: 11.9 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003106/0.743, allocations: 1.589 MB / 1.52 GB, free: 10.27 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.7431, allocations: 55.41 kB / 1.52 GB, free: 10.2 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/0.7468, allocations: 2.741 MB / 1.523 GB, free: 7.445 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.7469, allocations: 37.7 kB / 1.523 GB, free: 7.402 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.748, allocations: 1.058 MB / 1.524 GB, free: 6.336 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.7481, allocations: 127 kB / 1.524 GB, free: 6.211 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.7483, allocations: 106.2 kB / 1.524 GB, free: 6.098 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.7485, allocations: 330 kB / 1.525 GB, free: 5.77 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.7488, allocations: 161.1 kB / 1.525 GB, free: 5.613 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.7493, allocations: 448 kB / 1.525 GB, free: 5.07 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.002173/0.7515, allocations: 0.9989 MB / 1.526 GB, free: 3.984 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.7515, allocations: 0 / 1.526 GB, free: 3.984 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001298/0.7528, allocations: 0.7945 MB / 1.527 GB, free: 3.18 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7528, allocations: 8.031 kB / 1.527 GB, free: 3.172 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7528, allocations: 8 kB / 1.527 GB, free: 3.164 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.753, allocations: 60.83 kB / 1.527 GB, free: 3.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.7534, allocations: 99.83 kB / 1.527 GB, free: 3.004 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.7552, allocations: 1.731 MB / 1.529 GB, free: 1.176 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008219/0.756, allocations: 38.5 kB / 1.529 GB, free: 1.141 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.7561, allocations: 24 kB / 1.529 GB, free: 1.117 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.001343/0.7574, allocations: 0.7939 MB / 1.53 GB, free: 320 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.7577, allocations: 226.5 kB / 1.53 GB, free: 92 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.7581, allocations: 242.1 kB / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7581, allocations: 4 kB / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.7581, allocations: 0 / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007949/0.7589, allocations: 0.6048 MB / 1.531 GB, free: 15.16 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.7619, allocations: 1.788 MB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7619, allocations: 4.406 kB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.7622, allocations: 67.91 kB / 1.532 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.7624, allocations: 56.77 kB / 1.532 GB, free: 13.17 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.7624, allocations: 12.11 kB / 1.533 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.7641, allocations: 1.735 MB / 1.534 GB, free: 11.32 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.7641, allocations: 7.938 kB / 1.534 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.7654, allocations: 0.9193 MB / 1.535 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/0.7661, allocations: 327.5 kB / 1.535 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.7662, allocations: 12 kB / 1.535 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.7668, allocations: 16.59 kB / 1.535 GB, free: 9.984 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.7668, allocations: 31.89 kB / 1.535 GB, free: 9.953 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.7668, allocations: 12 kB / 1.535 GB, free: 9.941 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002868/0.7697, allocations: 1.938 MB / 1.537 GB, free: 7.996 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7697, allocations: 0 / 1.537 GB, free: 7.996 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001088/0.7708, allocations: 304.1 kB / 1.538 GB, free: 7.699 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.0003242/0.7711, allocations: 156.8 kB / 1.538 GB, free: 7.543 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009628/0.7721, allocations: 0.5153 MB / 1.538 GB, free: 7.016 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7721, allocations: 0 / 1.538 GB, free: 7.016 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.7725, allocations: 298.3 kB / 1.539 GB, free: 6.711 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/0.7757, allocations: 0.8506 MB / 1.539 GB, free: 5.887 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.7822, allocations: 3.986 MB / 1.543 GB, free: 1.809 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.7836, allocations: 1.246 MB / 1.545 GB, free: 0.5195 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.7838, allocations: 95.44 kB / 1.545 GB, free: 436 kB / 1.232 GB Notification: Performance of SimCode: time 8.52e-07/0.7838, allocations: 0 / 1.545 GB, free: 436 kB / 1.232 GB Notification: Performance of Templates: time 0.06376/0.8476, allocations: 42.76 MB / 1.586 GB, free: 5.824 MB / 1.279 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/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: 19.969427419127896]