Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 109 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 191.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.88 kB / 1.062 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.69, allocations: 160.8 MB / 1.219 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2159/0.9058, allocations: 180.1 MB / 1.394 GB, free: 2.445 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.9241, allocations: 11.05 MB / 1.405 GB, free: 7.359 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.9274, allocations: 127 kB / 1.405 GB, free: 7.234 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006121/0.9335, allocations: 2.044 MB / 1.407 GB, free: 5.18 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.9387, allocations: 1.698 MB / 1.409 GB, free: 3.473 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.9412, allocations: 0.8307 MB / 1.41 GB, free: 2.645 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00516/0.9464, allocations: 3.188 MB / 1.413 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.9478, allocations: 0.8211 MB / 1.414 GB, free: 14.59 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.9497, allocations: 1.198 MB / 1.415 GB, free: 13.39 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.9518, allocations: 1.155 MB / 1.416 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.9521, allocations: 128 kB / 1.416 GB, free: 12.11 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.9542, allocations: 0.9822 MB / 1.417 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005699/0.9548, allocations: 0.49 MB / 1.418 GB, free: 10.63 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.956, allocations: 1.088 MB / 1.419 GB, free: 9.539 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.9607, allocations: 3.494 MB / 1.422 GB, free: 6.031 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.9607, allocations: 0 / 1.422 GB, free: 6.031 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9607, allocations: 0 / 1.422 GB, free: 6.031 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.441e-05/0.9608, allocations: 7.938 kB / 1.422 GB, free: 6.023 MB / 1.123 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.004692/0.9655, allocations: 2.894 MB / 1.425 GB, free: 3.062 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.9655, allocations: 8.031 kB / 1.425 GB, free: 3.055 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.967, allocations: 378 kB / 1.425 GB, free: 2.684 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.9707, allocations: 2.039 MB / 1.427 GB, free: 0.582 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.9708, allocations: 61.94 kB / 1.427 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9709, allocations: 76 kB / 1.427 GB, free: 456 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.9725, allocations: 0.9407 MB / 1.428 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.9725, allocations: 4 kB / 1.428 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.9726, allocations: 32 kB / 1.428 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/0.9726, allocations: 32.94 kB / 1.428 GB, free: 15.39 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.9738, allocations: 0.6947 MB / 1.429 GB, free: 14.7 MB / 1.139 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.006434/0.9803, allocations: 4.457 MB / 1.433 GB, free: 10.03 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.9808, allocations: 308.1 kB / 1.434 GB, free: 9.723 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.981, allocations: 172.8 kB / 1.434 GB, free: 9.551 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.9812, allocations: 93.09 kB / 1.434 GB, free: 9.441 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.9813, allocations: 46.56 kB / 1.434 GB, free: 9.387 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.9813, allocations: 3.938 kB / 1.434 GB, free: 9.383 MB / 1.139 GB Notification: Performance of matching and sorting (n=32): time 0.003171/0.9844, allocations: 1.742 MB / 1.436 GB, free: 7.562 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.9845, allocations: 55.41 kB / 1.436 GB, free: 7.496 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003912/0.9884, allocations: 2.949 MB / 1.439 GB, free: 4.531 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.9884, allocations: 29.7 kB / 1.439 GB, free: 4.496 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.9895, allocations: 1.067 MB / 1.44 GB, free: 3.422 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.9896, allocations: 123 kB / 1.44 GB, free: 3.301 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.9898, allocations: 114.2 kB / 1.44 GB, free: 3.184 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.9899, allocations: 330 kB / 1.44 GB, free: 2.855 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.9902, allocations: 161.1 kB / 1.44 GB, free: 2.699 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.9907, allocations: 370.3 kB / 1.441 GB, free: 2.25 MB / 1.139 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.002204/0.9929, allocations: 1.074 MB / 1.442 GB, free: 1.074 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9929, allocations: 3.938 kB / 1.442 GB, free: 1.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001262/0.9941, allocations: 0.8131 MB / 1.443 GB, free: 252 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.9941, allocations: 8.812 kB / 1.443 GB, free: 244 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.9942, allocations: 4 kB / 1.443 GB, free: 240 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.9944, allocations: 64.81 kB / 1.443 GB, free: 172 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.9947, allocations: 99.78 kB / 1.443 GB, free: 72 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.9966, allocations: 1.857 MB / 1.445 GB, free: 14.07 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008263/0.9974, allocations: 27.94 kB / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.9974, allocations: 28.06 kB / 1.445 GB, free: 14.02 MB / 1.154 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.001144/0.9986, allocations: 0.798 MB / 1.445 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.9989, allocations: 258.3 kB / 1.446 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.9993, allocations: 255.7 kB / 1.446 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9993, allocations: 4 kB / 1.446 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9993, allocations: 0 / 1.446 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007476/1, allocations: 0.597 MB / 1.446 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/1.003, allocations: 2.046 MB / 1.448 GB, free: 9.879 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.003, allocations: 4 kB / 1.448 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/1.004, allocations: 63.84 kB / 1.449 GB, free: 9.812 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/1.004, allocations: 60.81 kB / 1.449 GB, free: 9.75 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/1.004, allocations: 8 kB / 1.449 GB, free: 9.742 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/1.006, allocations: 1.861 MB / 1.45 GB, free: 7.742 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.006, allocations: 8.062 kB / 1.45 GB, free: 7.734 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/1.007, allocations: 0.9317 MB / 1.451 GB, free: 6.742 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008188/1.008, allocations: 427.4 kB / 1.452 GB, free: 6.305 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/1.008, allocations: 12 kB / 1.452 GB, free: 6.293 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/1.008, allocations: 15.98 kB / 1.452 GB, free: 6.277 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/1.008, allocations: 35.83 kB / 1.452 GB, free: 6.242 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/1.009, allocations: 12 kB / 1.452 GB, free: 6.23 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002979/1.012, allocations: 2.087 MB / 1.454 GB, free: 4.141 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/1.012, allocations: 4 kB / 1.454 GB, free: 4.137 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001031/1.013, allocations: 296 kB / 1.454 GB, free: 3.848 MB / 1.154 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.0004358/1.013, allocations: 173.8 kB / 1.454 GB, free: 3.68 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009261/1.014, allocations: 0.5104 MB / 1.455 GB, free: 3.156 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.014, allocations: 4 kB / 1.455 GB, free: 3.152 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/1.014, allocations: 299 kB / 1.455 GB, free: 2.852 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.018, allocations: 0.9466 MB / 1.456 GB, free: 1.926 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/1.024, allocations: 4.215 MB / 1.46 GB, free: 13.62 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.026, allocations: 1.953 MB / 1.462 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009593/1.027, allocations: 342.8 kB / 1.462 GB, free: 11.3 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/1.027, allocations: 103.4 kB / 1.462 GB, free: 11.2 MB / 1.17 GB Notification: Performance of SimCode: time 6.21e-07/1.027, allocations: 3.938 kB / 1.462 GB, free: 11.19 MB / 1.17 GB Notification: Performance of Templates: time 0.05505/1.082, allocations: 30.43 MB / 1.492 GB, free: 13.21 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.991387961432338]