Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004684/0.004684, allocations: 100.6 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 193.5 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.364/2.364, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.91 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2462, allocations: 157.4 MB / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6452/0.8914, allocations: 179.3 MB / 1.383 GB, free: 8.211 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.9054, allocations: 10.97 MB / 1.394 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.9077, allocations: 95.75 kB / 1.394 GB, free: 15.19 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004813/0.9126, allocations: 2.007 MB / 1.396 GB, free: 13.81 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.9164, allocations: 1.613 MB / 1.397 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.9183, allocations: 0.7901 MB / 1.398 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003665/0.9219, allocations: 3.141 MB / 1.401 GB, free: 10.03 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.9235, allocations: 1.323 MB / 1.402 GB, free: 9.316 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.9254, allocations: 1.154 MB / 1.404 GB, free: 8.656 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.9274, allocations: 1.099 MB / 1.405 GB, free: 7.992 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.9277, allocations: 127.2 kB / 1.405 GB, free: 7.992 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.9292, allocations: 0.9169 MB / 1.406 GB, free: 7.531 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003755/0.9296, allocations: 483.6 kB / 1.406 GB, free: 7.184 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.9304, allocations: 1.091 MB / 1.407 GB, free: 6.438 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.9332, allocations: 3.462 MB / 1.411 GB, free: 4.18 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9332, allocations: 0 / 1.411 GB, free: 4.18 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9332, allocations: 0 / 1.411 GB, free: 4.18 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.9332, allocations: 0 / 1.411 GB, free: 4.18 MB / 1.092 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.00325/0.9365, allocations: 2.808 MB / 1.413 GB, free: 2.113 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.9365, allocations: 15.31 kB / 1.413 GB, free: 2.109 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.9377, allocations: 375.5 kB / 1.414 GB, free: 1.918 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.9404, allocations: 2.009 MB / 1.416 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.9404, allocations: 62.66 kB / 1.416 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.544e-05/0.9405, allocations: 77.81 kB / 1.416 GB, free: 476 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.9417, allocations: 0.9313 MB / 1.417 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.9417, allocations: 6.562 kB / 1.417 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.9418, allocations: 35.52 kB / 1.417 GB, free: 15.84 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.9418, allocations: 31.28 kB / 1.417 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009384/0.9428, allocations: 0.6966 MB / 1.417 GB, free: 15.48 MB / 1.107 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.004656/0.9474, allocations: 4.451 MB / 1.422 GB, free: 11.37 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.9479, allocations: 307.2 kB / 1.422 GB, free: 11.06 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.9481, allocations: 184.6 kB / 1.422 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.9482, allocations: 101 kB / 1.422 GB, free: 10.76 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.9483, allocations: 38.56 kB / 1.422 GB, free: 10.71 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 3.466e-06/0.9483, allocations: 3.984 kB / 1.422 GB, free: 10.71 MB / 1.107 GB Notification: Performance of matching and sorting (n=32): time 0.002432/0.9507, allocations: 1.701 MB / 1.424 GB, free: 8.926 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.9508, allocations: 63.33 kB / 1.424 GB, free: 8.852 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.9538, allocations: 2.945 MB / 1.427 GB, free: 5.891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.9538, allocations: 37.7 kB / 1.427 GB, free: 5.848 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.9546, allocations: 1.058 MB / 1.428 GB, free: 4.785 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.9547, allocations: 114.4 kB / 1.428 GB, free: 4.672 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.9549, allocations: 114 kB / 1.428 GB, free: 4.555 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.955, allocations: 326 kB / 1.429 GB, free: 4.23 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.9552, allocations: 165 kB / 1.429 GB, free: 4.07 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.9555, allocations: 378.3 kB / 1.429 GB, free: 3.613 MB / 1.107 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.001839/0.9574, allocations: 1.068 MB / 1.43 GB, free: 2.441 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9574, allocations: 4 kB / 1.43 GB, free: 2.438 MB / 1.107 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009809/0.9584, allocations: 0.7962 MB / 1.431 GB, free: 1.629 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.9584, allocations: 14.17 kB / 1.431 GB, free: 1.617 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9584, allocations: 8 kB / 1.431 GB, free: 1.609 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.9586, allocations: 56.83 kB / 1.431 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.9589, allocations: 103.8 kB / 1.431 GB, free: 1.449 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.9603, allocations: 1.869 MB / 1.433 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.9609, allocations: 23.91 kB / 1.433 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.961, allocations: 28.06 kB / 1.433 GB, free: 15.39 MB / 1.123 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.0007856/0.9618, allocations: 0.7942 MB / 1.434 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.962, allocations: 229.1 kB / 1.434 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.9623, allocations: 251.7 kB / 1.434 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.9623, allocations: 4 kB / 1.434 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9623, allocations: 3.984 kB / 1.434 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005854/0.9629, allocations: 0.6048 MB / 1.435 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.9654, allocations: 2.04 MB / 1.437 GB, free: 11.28 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.9654, allocations: 4 kB / 1.437 GB, free: 11.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.9657, allocations: 63.91 kB / 1.437 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.9659, allocations: 61.16 kB / 1.437 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.9659, allocations: 16 kB / 1.437 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.9671, allocations: 1.863 MB / 1.439 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9672, allocations: 4 kB / 1.439 GB, free: 9.133 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/0.9681, allocations: 0.9244 MB / 1.44 GB, free: 8.148 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.9687, allocations: 410.1 kB / 1.44 GB, free: 7.727 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.9689, allocations: 8 kB / 1.44 GB, free: 7.719 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.9694, allocations: 15.98 kB / 1.44 GB, free: 7.703 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.9694, allocations: 31.84 kB / 1.44 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.9695, allocations: 24 kB / 1.44 GB, free: 7.648 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002322/0.9718, allocations: 2.083 MB / 1.442 GB, free: 5.562 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/0.9718, allocations: 0 / 1.442 GB, free: 5.562 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008737/0.9727, allocations: 304 kB / 1.442 GB, free: 5.266 MB / 1.123 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.000347/0.973, allocations: 166.2 kB / 1.443 GB, free: 5.109 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008236/0.9739, allocations: 0.5351 MB / 1.443 GB, free: 4.562 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9739, allocations: 4 kB / 1.443 GB, free: 4.559 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.9742, allocations: 303 kB / 1.443 GB, free: 4.25 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/0.9774, allocations: 0.937 MB / 1.444 GB, free: 3.336 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/0.9825, allocations: 4.154 MB / 1.448 GB, free: 15.1 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.9838, allocations: 1.953 MB / 1.45 GB, free: 13.11 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008862/0.9847, allocations: 338.8 kB / 1.451 GB, free: 12.78 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.9849, allocations: 107.4 kB / 1.451 GB, free: 12.67 MB / 1.139 GB Notification: Performance of SimCode: time 2.495e-06/0.9849, allocations: 0 / 1.451 GB, free: 12.67 MB / 1.139 GB Notification: Performance of Templates: time 0.04214/1.027, allocations: 30.39 MB / 1.48 GB, free: 14.71 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches