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.001945/0.001945, allocations: 107.1 kB / 16.45 MB, free: 6.508 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.002266/0.002266, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.09/3.09, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002054/0.002054, allocations: 71.47 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 176.1 MB / 1.321 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2105/0.5178, allocations: 182.8 MB / 1.5 GB, free: 11.21 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.5351, allocations: 11.04 MB / 1.511 GB, free: 152 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.5376, allocations: 127 kB / 1.511 GB, free: 24 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005548/0.5431, allocations: 2.017 MB / 1.513 GB, free: 13.99 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.5477, allocations: 1.678 MB / 1.514 GB, free: 12.3 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.55, allocations: 0.7954 MB / 1.515 GB, free: 11.52 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004585/0.5546, allocations: 3.147 MB / 1.518 GB, free: 8.355 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.5563, allocations: 1.039 MB / 1.519 GB, free: 7.285 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.5587, allocations: 1.327 MB / 1.521 GB, free: 5.953 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.5612, allocations: 1.148 MB / 1.522 GB, free: 4.809 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003982/0.5615, allocations: 128 kB / 1.522 GB, free: 4.684 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.5637, allocations: 0.9706 MB / 1.523 GB, free: 3.711 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.5644, allocations: 485.9 kB / 1.523 GB, free: 3.234 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.566, allocations: 1.099 MB / 1.524 GB, free: 2.129 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005068/0.571, allocations: 3.506 MB / 1.528 GB, free: 14.61 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.571, allocations: 0 / 1.528 GB, free: 14.61 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.272e-06/0.571, allocations: 0 / 1.528 GB, free: 14.61 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.76e-05/0.5711, allocations: 0 / 1.528 GB, free: 14.61 MB / 1.232 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.004911/0.576, allocations: 2.898 MB / 1.531 GB, free: 11.64 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.576, allocations: 11.98 kB / 1.531 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.5778, allocations: 390 kB / 1.531 GB, free: 11.25 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.5817, allocations: 2.058 MB / 1.533 GB, free: 9.129 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.5817, allocations: 61.94 kB / 1.533 GB, free: 9.066 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.5819, allocations: 72 kB / 1.533 GB, free: 8.996 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.5836, allocations: 0.9407 MB / 1.534 GB, free: 8.016 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.5836, allocations: 0 / 1.534 GB, free: 8.016 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.5837, allocations: 35.98 kB / 1.534 GB, free: 7.98 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.5837, allocations: 28.94 kB / 1.534 GB, free: 7.953 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.585, allocations: 0.7025 MB / 1.535 GB, free: 7.25 MB / 1.232 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.006454/0.5914, allocations: 4.449 MB / 1.539 GB, free: 2.586 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.592, allocations: 308.3 kB / 1.539 GB, free: 2.277 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.5922, allocations: 164.8 kB / 1.54 GB, free: 2.113 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.5924, allocations: 97.09 kB / 1.54 GB, free: 2 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5924, allocations: 38.56 kB / 1.54 GB, free: 1.953 MB / 1.232 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.5924, allocations: 3.938 kB / 1.54 GB, free: 1.949 MB / 1.232 GB Notification: Performance of matching and sorting (n=32): time 0.003336/0.5958, allocations: 1.743 MB / 1.541 GB, free: 128 kB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5958, allocations: 55.41 kB / 1.541 GB, free: 60 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/0.6002, allocations: 2.949 MB / 1.544 GB, free: 13.09 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.6002, allocations: 33.64 kB / 1.544 GB, free: 13.05 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.6013, allocations: 1.067 MB / 1.545 GB, free: 11.98 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.6014, allocations: 123 kB / 1.545 GB, free: 11.86 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.6016, allocations: 118.2 kB / 1.546 GB, free: 11.74 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.6018, allocations: 330 kB / 1.546 GB, free: 11.41 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.6022, allocations: 165 kB / 1.546 GB, free: 11.25 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.6029, allocations: 362.4 kB / 1.546 GB, free: 10.8 MB / 1.248 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.003334/0.6062, allocations: 1.076 MB / 1.547 GB, free: 9.625 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.6062, allocations: 3.938 kB / 1.547 GB, free: 9.621 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002159/0.6084, allocations: 0.8093 MB / 1.548 GB, free: 8.801 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6084, allocations: 8 kB / 1.548 GB, free: 8.793 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6084, allocations: 4.719 kB / 1.548 GB, free: 8.789 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002852/0.6087, allocations: 68.81 kB / 1.548 GB, free: 8.719 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.6093, allocations: 95.78 kB / 1.548 GB, free: 8.625 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.6117, allocations: 1.865 MB / 1.55 GB, free: 6.625 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.6131, allocations: 27.94 kB / 1.55 GB, free: 6.598 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.6132, allocations: 27.94 kB / 1.55 GB, free: 6.57 MB / 1.248 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.001358/0.6146, allocations: 0.7924 MB / 1.551 GB, free: 5.77 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/0.615, allocations: 242.4 kB / 1.551 GB, free: 5.531 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.6155, allocations: 259.6 kB / 1.552 GB, free: 5.277 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.6155, allocations: 4 kB / 1.552 GB, free: 5.273 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6155, allocations: 0 / 1.552 GB, free: 5.273 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007656/0.6162, allocations: 0.605 MB / 1.552 GB, free: 4.598 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.6199, allocations: 2.049 MB / 1.554 GB, free: 2.441 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.6199, allocations: 7.984 kB / 1.554 GB, free: 2.434 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.6203, allocations: 56.02 kB / 1.554 GB, free: 2.379 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.6204, allocations: 64.8 kB / 1.554 GB, free: 2.312 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.6205, allocations: 8 kB / 1.554 GB, free: 2.305 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.6223, allocations: 1.865 MB / 1.556 GB, free: 308 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.6223, allocations: 4 kB / 1.556 GB, free: 304 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.6236, allocations: 0.9358 MB / 1.557 GB, free: 15.3 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/0.6243, allocations: 415.4 kB / 1.557 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.6246, allocations: 20.05 kB / 1.557 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006714/0.6253, allocations: 25.72 kB / 1.557 GB, free: 14.83 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.6254, allocations: 31.84 kB / 1.557 GB, free: 14.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.6254, allocations: 12 kB / 1.557 GB, free: 14.79 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003374/0.6288, allocations: 2.091 MB / 1.56 GB, free: 12.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6288, allocations: 0 / 1.56 GB, free: 12.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001121/0.6299, allocations: 303.9 kB / 1.56 GB, free: 12.4 MB / 1.264 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.0003245/0.6302, allocations: 163 kB / 1.56 GB, free: 12.23 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009755/0.6312, allocations: 0.5072 MB / 1.56 GB, free: 11.71 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6312, allocations: 0 / 1.56 GB, free: 11.71 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.6317, allocations: 300.1 kB / 1.561 GB, free: 11.41 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.6356, allocations: 0.9508 MB / 1.562 GB, free: 10.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007058/0.6426, allocations: 4.209 MB / 1.566 GB, free: 6.18 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/0.6449, allocations: 1.949 MB / 1.568 GB, free: 4.195 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001127/0.646, allocations: 338.9 kB / 1.568 GB, free: 3.859 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.6463, allocations: 107.4 kB / 1.568 GB, free: 3.754 MB / 1.264 GB Notification: Performance of SimCode: time 8.91e-07/0.6463, allocations: 0 / 1.568 GB, free: 3.754 MB / 1.264 GB Notification: Performance of Templates: time 0.054/0.7003, allocations: 30.14 MB / 1.598 GB, free: 6.055 MB / 1.295 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.812011406756938]