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.001754/0.001754, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002428/0.002428, allocations: 215.2 kB / 22.25 MB, free: 5.102 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.816 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 2.937/2.937, allocations: 0.49 GB / 0.7951 GB, free: 35.67 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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [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.001963/0.001963, allocations: 68.19 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 176.1 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1838/0.4942, allocations: 158 MB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.5099, allocations: 10.15 MB / 1.49 GB, free: 8.805 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.5126, allocations: 127 kB / 1.49 GB, free: 8.68 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005377/0.518, allocations: 1.881 MB / 1.492 GB, free: 6.789 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004645/0.5226, allocations: 1.686 MB / 1.494 GB, free: 5.094 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.5249, allocations: 0.8141 MB / 1.495 GB, free: 4.281 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004679/0.5296, allocations: 3.18 MB / 1.498 GB, free: 1.094 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.5312, allocations: 0.9651 MB / 1.499 GB, free: 100 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.5336, allocations: 1.342 MB / 1.5 GB, free: 14.75 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.5359, allocations: 1.145 MB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003445/0.5362, allocations: 128 kB / 1.501 GB, free: 13.48 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.538, allocations: 0.7794 MB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005589/0.5386, allocations: 497.9 kB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.5397, allocations: 0.8234 MB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004327/0.544, allocations: 3.482 MB / 1.507 GB, free: 7.887 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.544, allocations: 0 / 1.507 GB, free: 7.887 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.857e-06/0.544, allocations: 3.984 kB / 1.507 GB, free: 7.883 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.725e-05/0.5441, allocations: 4 kB / 1.507 GB, free: 7.879 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.004367/0.5485, allocations: 2.826 MB / 1.509 GB, free: 5.004 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.5485, allocations: 12.03 kB / 1.509 GB, free: 4.992 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.5487, allocations: 126.7 kB / 1.509 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.5501, allocations: 394 kB / 1.51 GB, free: 4.473 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/0.5539, allocations: 1.947 MB / 1.512 GB, free: 2.469 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.5539, allocations: 58 kB / 1.512 GB, free: 2.41 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5541, allocations: 72 kB / 1.512 GB, free: 2.34 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5556, allocations: 1.045 MB / 1.513 GB, free: 1.227 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.5557, allocations: 7.875 kB / 1.513 GB, free: 1.219 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.5557, allocations: 36 kB / 1.513 GB, free: 1.184 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.5558, allocations: 28.94 kB / 1.513 GB, free: 1.156 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.5569, allocations: 0.6947 MB / 1.514 GB, free: 472 kB / 1.201 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.005791/0.5626, allocations: 3.645 MB / 1.517 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.5631, allocations: 302.7 kB / 1.517 GB, free: 12.42 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.5634, allocations: 183 kB / 1.518 GB, free: 12.24 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.5635, allocations: 15.98 kB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5636, allocations: 38.56 kB / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/0.5636, allocations: 0 / 1.518 GB, free: 12.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=32): time 0.003122/0.5667, allocations: 1.597 MB / 1.519 GB, free: 10.54 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.5667, allocations: 59.34 kB / 1.519 GB, free: 10.47 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/0.5706, allocations: 2.965 MB / 1.522 GB, free: 7.488 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.5706, allocations: 33.7 kB / 1.522 GB, free: 7.449 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000972/0.5716, allocations: 1.067 MB / 1.523 GB, free: 6.375 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.5717, allocations: 123 kB / 1.523 GB, free: 6.254 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.5719, allocations: 110.2 kB / 1.524 GB, free: 6.137 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.572, allocations: 330 kB / 1.524 GB, free: 5.809 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.5723, allocations: 165 kB / 1.524 GB, free: 5.648 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.5727, allocations: 443.7 kB / 1.524 GB, free: 5.113 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.002101/0.5748, allocations: 1.009 MB / 1.525 GB, free: 4.02 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5748, allocations: 0 / 1.525 GB, free: 4.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001275/0.5761, allocations: 0.8054 MB / 1.526 GB, free: 3.203 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5761, allocations: 4.844 kB / 1.526 GB, free: 3.199 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5761, allocations: 8 kB / 1.526 GB, free: 3.191 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.5763, allocations: 64.81 kB / 1.526 GB, free: 3.125 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.5767, allocations: 103.8 kB / 1.526 GB, free: 3.023 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.5783, allocations: 1.75 MB / 1.528 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/0.5792, allocations: 35.81 kB / 1.528 GB, free: 1.129 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.5792, allocations: 27.94 kB / 1.528 GB, free: 1.102 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.001076/0.5803, allocations: 0.7911 MB / 1.529 GB, free: 308 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.5806, allocations: 246.4 kB / 1.529 GB, free: 60 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.581, allocations: 255.7 kB / 1.529 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.581, allocations: 4 kB / 1.529 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.581, allocations: 4.125 kB / 1.529 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006977/0.5817, allocations: 0.597 MB / 1.53 GB, free: 15.13 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.5847, allocations: 1.873 MB / 1.532 GB, free: 13.16 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5847, allocations: 4 kB / 1.532 GB, free: 13.15 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.585, allocations: 67.91 kB / 1.532 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.5851, allocations: 61.22 kB / 1.532 GB, free: 13.02 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.5852, allocations: 12 kB / 1.532 GB, free: 13.01 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.5867, allocations: 1.754 MB / 1.534 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5867, allocations: 3.984 kB / 1.534 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.5879, allocations: 0.9397 MB / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008142/0.5887, allocations: 347.4 kB / 1.535 GB, free: 9.793 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.5889, allocations: 11.98 kB / 1.535 GB, free: 9.781 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.5895, allocations: 22.36 kB / 1.535 GB, free: 9.762 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.5896, allocations: 35.83 kB / 1.535 GB, free: 9.727 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.5896, allocations: 12 kB / 1.535 GB, free: 9.715 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002891/0.5925, allocations: 2.091 MB / 1.537 GB, free: 7.621 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5925, allocations: 0 / 1.537 GB, free: 7.621 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001133/0.5936, allocations: 296 kB / 1.537 GB, free: 7.332 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.001706/0.5953, allocations: 1.542 MB / 1.539 GB, free: 5.719 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009042/0.5963, allocations: 0.5149 MB / 1.539 GB, free: 5.191 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.5963, allocations: 4 kB / 1.539 GB, free: 5.188 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.5967, allocations: 299.3 kB / 1.54 GB, free: 4.883 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/0.6001, allocations: 0.938 MB / 1.541 GB, free: 3.973 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/0.6242, allocations: 17.14 MB / 1.557 GB, free: 2.41 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.6257, allocations: 1.384 MB / 1.559 GB, free: 0.9805 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001069/0.6268, allocations: 342.8 kB / 1.559 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000958/0.6277, allocations: 0.8 MB / 1.56 GB, free: 15.84 MB / 1.264 GB Notification: Performance of SimCode: time 1.413e-06/0.6277, allocations: 0 / 1.56 GB, free: 15.84 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6932/1.321, allocations: 55.77 MB / 1.614 GB, free: 276 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.61, allocations: 9.016 kB / 1.614 GB, free: 276 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] 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: 20.98449348899885]