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.00179/0.00179, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002296/0.002296, allocations: 213 kB / 23.04 MB, free: 5.074 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.955/2.955, allocations: 0.49 GB / 0.7959 GB, free: 33.47 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="cs",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.001901/0.001901, allocations: 65.25 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3335, allocations: 176.1 MB / 1.327 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2237/0.5572, allocations: 183 MB / 1.506 GB, free: 10.17 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.5748, allocations: 11.08 MB / 1.516 GB, free: 15.06 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.5779, allocations: 123.1 kB / 1.516 GB, free: 14.94 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.5838, allocations: 2.044 MB / 1.518 GB, free: 12.88 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.589, allocations: 1.702 MB / 1.52 GB, free: 11.17 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.5917, allocations: 0.8293 MB / 1.521 GB, free: 10.34 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.5971, allocations: 3.197 MB / 1.524 GB, free: 7.141 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.5989, allocations: 0.8251 MB / 1.525 GB, free: 6.285 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.6017, allocations: 1.33 MB / 1.526 GB, free: 4.949 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.6046, allocations: 1.152 MB / 1.527 GB, free: 3.797 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005294/0.6051, allocations: 124 kB / 1.527 GB, free: 3.676 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.6076, allocations: 0.9901 MB / 1.528 GB, free: 2.684 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008529/0.6085, allocations: 485.9 kB / 1.529 GB, free: 2.207 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.6105, allocations: 1.095 MB / 1.53 GB, free: 1.105 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006218/0.6167, allocations: 3.51 MB / 1.533 GB, free: 13.58 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6168, allocations: 0 / 1.533 GB, free: 13.58 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6168, allocations: 4 kB / 1.533 GB, free: 13.58 MB / 1.233 GB Notification: Performance of Transformations before backend: time 0.0001321/0.6169, allocations: 0 / 1.533 GB, free: 13.58 MB / 1.233 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.005919/0.6228, allocations: 2.819 MB / 1.536 GB, free: 10.71 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6229, allocations: 12.03 kB / 1.536 GB, free: 10.7 MB / 1.233 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.382e-05/0.6229, allocations: 21.94 kB / 1.536 GB, free: 10.68 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.6231, allocations: 130.7 kB / 1.536 GB, free: 10.54 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.6249, allocations: 390 kB / 1.537 GB, free: 10.16 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004309/0.6292, allocations: 1.94 MB / 1.538 GB, free: 8.16 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.6293, allocations: 61.94 kB / 1.539 GB, free: 8.102 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.6294, allocations: 79.95 kB / 1.539 GB, free: 8.023 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.6311, allocations: 0.9329 MB / 1.54 GB, free: 7.043 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.6311, allocations: 0 / 1.54 GB, free: 7.043 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6312, allocations: 35.94 kB / 1.54 GB, free: 7.008 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.6312, allocations: 25 kB / 1.54 GB, free: 6.984 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.6325, allocations: 0.7025 MB / 1.54 GB, free: 6.281 MB / 1.233 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.007226/0.6397, allocations: 4.399 MB / 1.545 GB, free: 1.676 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.6402, allocations: 310.5 kB / 1.545 GB, free: 1.367 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.6405, allocations: 176.7 kB / 1.545 GB, free: 1.191 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.6407, allocations: 16.14 kB / 1.545 GB, free: 1.176 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.6407, allocations: 42.5 kB / 1.545 GB, free: 1.125 MB / 1.233 GB Notification: Performance of pre-optimization done (n=30): time 4.038e-06/0.6407, allocations: 4 kB / 1.545 GB, free: 1.121 MB / 1.233 GB Notification: Performance of matching and sorting (n=32): time 0.00376/0.6445, allocations: 1.6 MB / 1.547 GB, free: 15.47 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.6445, allocations: 55.41 kB / 1.547 GB, free: 15.41 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/0.6498, allocations: 2.953 MB / 1.55 GB, free: 12.44 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.6499, allocations: 29.7 kB / 1.55 GB, free: 12.4 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.6512, allocations: 1.067 MB / 1.551 GB, free: 11.33 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.6514, allocations: 119 kB / 1.551 GB, free: 11.21 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.6516, allocations: 110.2 kB / 1.551 GB, free: 11.1 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6517, allocations: 341.8 kB / 1.551 GB, free: 10.76 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.652, allocations: 169 kB / 1.551 GB, free: 10.59 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.6525, allocations: 358.4 kB / 1.552 GB, free: 10.16 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.00233/0.6548, allocations: 1.007 MB / 1.553 GB, free: 9.062 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6548, allocations: 0 / 1.553 GB, free: 9.062 MB / 1.248 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001617/0.6565, allocations: 0.8018 MB / 1.553 GB, free: 8.25 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.6565, allocations: 8 kB / 1.553 GB, free: 8.242 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6565, allocations: 4 kB / 1.553 GB, free: 8.238 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.6567, allocations: 73.22 kB / 1.554 GB, free: 8.164 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.6571, allocations: 103.8 kB / 1.554 GB, free: 8.062 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.659, allocations: 1.746 MB / 1.555 GB, free: 6.207 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.6601, allocations: 40.89 kB / 1.555 GB, free: 6.168 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.6601, allocations: 24 kB / 1.555 GB, free: 6.145 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.001362/0.6615, allocations: 0.7901 MB / 1.556 GB, free: 5.344 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/0.6621, allocations: 246.4 kB / 1.556 GB, free: 5.102 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.6628, allocations: 259.8 kB / 1.557 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6628, allocations: 0 / 1.557 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6628, allocations: 4.125 kB / 1.557 GB, free: 4.836 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008093/0.6636, allocations: 0.597 MB / 1.557 GB, free: 4.168 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/0.6678, allocations: 2.028 MB / 1.559 GB, free: 2.039 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.6678, allocations: 4 kB / 1.559 GB, free: 2.035 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.6681, allocations: 67.84 kB / 1.559 GB, free: 1.969 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.6683, allocations: 56.81 kB / 1.559 GB, free: 1.91 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.6683, allocations: 12 kB / 1.559 GB, free: 1.898 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.6701, allocations: 1.758 MB / 1.561 GB, free: 24 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.6701, allocations: 4 kB / 1.561 GB, free: 20 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.6717, allocations: 0.9373 MB / 1.562 GB, free: 15.02 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.6727, allocations: 347.5 kB / 1.562 GB, free: 14.68 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/0.6731, allocations: 8 kB / 1.562 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.674, allocations: 29.12 kB / 1.562 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.674, allocations: 31.89 kB / 1.562 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.6741, allocations: 12 kB / 1.562 GB, free: 14.6 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003978/0.6781, allocations: 2.087 MB / 1.564 GB, free: 12.51 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6781, allocations: 0 / 1.564 GB, free: 12.51 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001444/0.6795, allocations: 296 kB / 1.565 GB, free: 12.22 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.002216/0.6817, allocations: 1.562 MB / 1.566 GB, free: 10.59 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6828, allocations: 0.507 MB / 1.567 GB, free: 10.07 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6828, allocations: 0.5625 kB / 1.567 GB, free: 10.07 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.6833, allocations: 302.3 kB / 1.567 GB, free: 9.762 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/0.6877, allocations: 0.9322 MB / 1.568 GB, free: 8.855 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/0.719, allocations: 17.16 MB / 1.585 GB, free: 7.27 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/0.7214, allocations: 1.957 MB / 1.587 GB, free: 5.277 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001234/0.7226, allocations: 346.8 kB / 1.587 GB, free: 4.934 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.7238, allocations: 0.7961 MB / 1.588 GB, free: 4.137 MB / 1.279 GB Notification: Performance of SimCode: time 1.353e-06/0.7238, allocations: 4 kB / 1.588 GB, free: 4.133 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7395/1.463, allocations: 51.82 MB / 1.638 GB, free: 264.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/16.43, allocations: 11.25 kB / 1.638 GB, free: 264.4 MB / 1.295 GB " [Timeout remaining time 283] (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: 23.142583940003533]