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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001175/0.001175, allocations: 119.2 kB / 16.37 MB, free: 6.012 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.001156/0.001156, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.191/1.191, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.19/2.19, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.38 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2357, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.5476/0.7833, allocations: 179.3 MB / 1.202 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.7967, allocations: 10.97 MB / 1.213 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.7985, allocations: 88.41 kB / 1.213 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003947/0.8024, allocations: 2.003 MB / 1.215 GB, free: 9.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.8056, allocations: 1.615 MB / 1.216 GB, free: 8.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.8072, allocations: 0.7867 MB / 1.217 GB, free: 7.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.8101, allocations: 3.147 MB / 1.22 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.8113, allocations: 1.322 MB / 1.221 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.8125, allocations: 1.1 MB / 1.222 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.8139, allocations: 1.106 MB / 1.223 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.8141, allocations: 128.1 kB / 1.224 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.8155, allocations: 0.9174 MB / 1.224 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.816, allocations: 486 kB / 1.225 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000885/0.8169, allocations: 1.095 MB / 1.226 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.8196, allocations: 3.239 MB / 1.229 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.8196, allocations: 4 kB / 1.229 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8196, allocations: 0 / 1.229 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.8196, allocations: 0 / 1.229 GB, free: 14.2 MB / 0.9356 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.00332/0.8229, allocations: 2.747 MB / 1.232 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.823, allocations: 8.031 kB / 1.232 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.8243, allocations: 372.6 kB / 1.232 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.8271, allocations: 2.001 MB / 1.234 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.8271, allocations: 62 kB / 1.234 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.8273, allocations: 79.91 kB / 1.234 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.8285, allocations: 0.9446 MB / 1.235 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.8285, allocations: 4 kB / 1.235 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.8286, allocations: 32 kB / 1.235 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.8286, allocations: 28.94 kB / 1.235 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009707/0.8296, allocations: 0.6947 MB / 1.236 GB, free: 7.066 MB / 0.9356 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.004993/0.8346, allocations: 4.444 MB / 1.24 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.8351, allocations: 314.7 kB / 1.241 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.8353, allocations: 181.2 kB / 1.241 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.8355, allocations: 101.1 kB / 1.241 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.8355, allocations: 34.56 kB / 1.241 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.8356, allocations: 0 / 1.241 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.00272/0.8383, allocations: 1.708 MB / 1.243 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.8383, allocations: 55.34 kB / 1.243 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00337/0.8417, allocations: 2.945 MB / 1.245 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.8418, allocations: 37.64 kB / 1.246 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008596/0.8426, allocations: 1.058 MB / 1.247 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.8427, allocations: 118.3 kB / 1.247 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.8429, allocations: 110.1 kB / 1.247 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.843, allocations: 326 kB / 1.247 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.8432, allocations: 165 kB / 1.247 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.8436, allocations: 370.3 kB / 1.248 GB, free: 10.66 MB / 0.9512 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.001864/0.8454, allocations: 1.08 MB / 1.249 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8454, allocations: 0 / 1.249 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001018/0.8465, allocations: 0.8048 MB / 1.249 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8465, allocations: 12.03 kB / 1.249 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8465, allocations: 4 kB / 1.249 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.8467, allocations: 64.83 kB / 1.249 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.847, allocations: 103.8 kB / 1.25 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.8484, allocations: 1.865 MB / 1.251 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.8491, allocations: 27.88 kB / 1.251 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.8491, allocations: 24 kB / 1.251 GB, free: 6.43 MB / 0.9512 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.0007885/0.8499, allocations: 0.7982 MB / 1.252 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.8501, allocations: 233 kB / 1.252 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.8504, allocations: 255.7 kB / 1.253 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8504, allocations: 4 kB / 1.253 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8504, allocations: 4 kB / 1.253 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006003/0.8511, allocations: 0.6008 MB / 1.253 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.8536, allocations: 2.041 MB / 1.255 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.8536, allocations: 7.938 kB / 1.255 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.8539, allocations: 67.91 kB / 1.255 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.8541, allocations: 57.34 kB / 1.255 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.8541, allocations: 20 kB / 1.255 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.8554, allocations: 1.849 MB / 1.257 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8554, allocations: 4 kB / 1.257 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.8564, allocations: 0.9225 MB / 1.258 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/0.8571, allocations: 410 kB / 1.259 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.8573, allocations: 12 kB / 1.259 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.8578, allocations: 19.92 kB / 1.259 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.8579, allocations: 31.84 kB / 1.259 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.8579, allocations: 20.06 kB / 1.259 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002336/0.8602, allocations: 2.079 MB / 1.261 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8602, allocations: 0 / 1.261 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008483/0.8611, allocations: 304 kB / 1.261 GB, free: 12.3 MB / 0.9669 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.0003594/0.8615, allocations: 181.2 kB / 1.261 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007708/0.8622, allocations: 0.527 MB / 1.262 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8623, allocations: 0 / 1.262 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.8626, allocations: 305.2 kB / 1.262 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.8656, allocations: 0.9539 MB / 1.263 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/0.8705, allocations: 4.136 MB / 1.267 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.8719, allocations: 1.953 MB / 1.269 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000873/0.8728, allocations: 338.8 kB / 1.269 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.873, allocations: 107.4 kB / 1.269 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.873, allocations: 0 / 1.269 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of Templates: time 0.04458/0.9176, allocations: 29.68 MB / 1.298 GB, free: 6.457 MB / 0.9981 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 -s cvode -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/jenkins1/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