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.001021/0.001021, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 184 kB / 16.92 MB, free: 6.703 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.018/3.018, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.00037, allocations: 10.19 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3344, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2131/0.5476, allocations: 174.5 MB / 1.23 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.5678, allocations: 10.82 MB / 1.24 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.5718, allocations: 71.56 kB / 1.24 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007048/0.5789, allocations: 1.839 MB / 1.242 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006347/0.5853, allocations: 1.473 MB / 1.244 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.5884, allocations: 0.7196 MB / 1.244 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006668/0.595, allocations: 3.706 MB / 1.248 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.5976, allocations: 1.141 MB / 1.249 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.6002, allocations: 0.9636 MB / 1.25 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8039/1.404, allocations: 1.067 MB / 1.251 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009206/1.405, allocations: 69.66 kB / 1.251 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/1.409, allocations: 0.9929 MB / 1.252 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/1.411, allocations: 413.2 kB / 1.252 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00377/1.415, allocations: 1.041 MB / 1.253 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004592/1.419, allocations: 2.42 MB / 1.256 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.419, allocations: 1.75 kB / 1.256 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.419, allocations: 0 / 1.256 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.452e-05/1.419, allocations: 3.688 kB / 1.256 GB, free: 6.043 MB / 0.9981 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.004897/1.424, allocations: 2.311 MB / 1.258 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/1.424, allocations: 14.91 kB / 1.258 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/1.426, allocations: 371.9 kB / 1.258 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/1.429, allocations: 1.88 MB / 1.26 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/1.429, allocations: 67.16 kB / 1.26 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.429, allocations: 76.44 kB / 1.26 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/1.431, allocations: 0.9382 MB / 1.261 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.431, allocations: 4.266 kB / 1.261 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/1.431, allocations: 30.94 kB / 1.261 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/1.431, allocations: 30.38 kB / 1.261 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/1.433, allocations: 0.6968 MB / 1.262 GB, free: 3.867 MB / 0.9981 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.006664/1.439, allocations: 4.502 MB / 1.266 GB, free: 17.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/1.44, allocations: 319.7 kB / 1.267 GB, free: 17.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/1.44, allocations: 178.5 kB / 1.267 GB, free: 17.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/1.44, allocations: 96.84 kB / 1.267 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.44, allocations: 36.22 kB / 1.267 GB, free: 17.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 3.316e-06/1.44, allocations: 0 / 1.267 GB, free: 17.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.003236/1.444, allocations: 1.703 MB / 1.269 GB, free: 16.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.444, allocations: 55.69 kB / 1.269 GB, free: 16.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/1.449, allocations: 2.975 MB / 1.272 GB, free: 16.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/1.449, allocations: 32.5 kB / 1.272 GB, free: 16.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009446/1.45, allocations: 1.053 MB / 1.273 GB, free: 16.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.45, allocations: 113.6 kB / 1.273 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/1.45, allocations: 49.77 kB / 1.273 GB, free: 16.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.45, allocations: 325.9 kB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/1.451, allocations: 167.6 kB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/1.451, allocations: 370.6 kB / 1.274 GB, free: 15.74 MB / 1.014 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.002562/1.453, allocations: 1.081 MB / 1.275 GB, free: 15.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.454, allocations: 2.062 kB / 1.275 GB, free: 15.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001766/1.455, allocations: 0.7967 MB / 1.276 GB, free: 15.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/1.455, allocations: 7.375 kB / 1.276 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/1.455, allocations: 7.406 kB / 1.276 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/1.456, allocations: 62.94 kB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/1.456, allocations: 101.4 kB / 1.276 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/1.458, allocations: 1.681 MB / 1.277 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.459, allocations: 44 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/1.459, allocations: 25.77 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.001435/1.461, allocations: 0.7946 MB / 1.278 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/1.461, allocations: 234.9 kB / 1.278 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005723/1.462, allocations: 255.5 kB / 1.279 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.462, allocations: 7.125 kB / 1.279 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/1.462, allocations: 1 kB / 1.279 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00078/1.463, allocations: 0.5993 MB / 1.279 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/1.467, allocations: 2.055 MB / 1.281 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.467, allocations: 3.344 kB / 1.281 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/1.467, allocations: 66.69 kB / 1.281 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/1.468, allocations: 56.75 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/1.468, allocations: 13.45 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/1.469, allocations: 1.686 MB / 1.283 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.469, allocations: 6.188 kB / 1.283 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/1.471, allocations: 0.9274 MB / 1.284 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.472, allocations: 408.4 kB / 1.284 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005459/1.472, allocations: 19 kB / 1.284 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.473, allocations: 37.14 kB / 1.284 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/1.473, allocations: 32.62 kB / 1.284 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/1.473, allocations: 16.19 kB / 1.284 GB, free: 10.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004354/1.478, allocations: 2.102 MB / 1.287 GB, free: 10.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.478, allocations: 0 / 1.287 GB, free: 10.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001712/1.48, allocations: 307.2 kB / 1.287 GB, free: 10.64 MB / 1.014 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.0004978/1.48, allocations: 163.9 kB / 1.287 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.481, allocations: 0.5215 MB / 1.288 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.481, allocations: 1.469 kB / 1.288 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/1.482, allocations: 303.3 kB / 1.288 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006233/1.488, allocations: 0.8925 MB / 1.289 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/1.496, allocations: 4.65 MB / 1.293 GB, free: 8.117 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/1.499, allocations: 1.824 MB / 1.295 GB, free: 7.367 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.499, allocations: 103.7 kB / 1.295 GB, free: 7.363 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.499, allocations: 1.859 kB / 1.295 GB, free: 7.363 MB / 1.014 GB Notification: Performance of Templates: time 0.06818/1.567, allocations: 42.47 MB / 1.337 GB, free: 9.215 MB / 1.029 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/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