Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_9_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_9_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.004823/0.004828, allocations: 100 kB / 15.73 MB, free: 6.473 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.001143/0.001143, allocations: 194.8 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.174/1.174, 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 9.1.3-maint.9.1.x/package.mo): time 2.04/2.04, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 63.22 kB / 0.951 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2268, allocations: 140.4 MB / 1.088 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6461/0.873, allocations: 179.3 MB / 1.263 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.8852, allocations: 10.98 MB / 1.274 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.8871, allocations: 96.12 kB / 1.274 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004727/0.8919, allocations: 2.011 MB / 1.276 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.8954, allocations: 1.668 MB / 1.277 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.8972, allocations: 0.7918 MB / 1.278 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003903/0.9011, allocations: 3.152 MB / 1.281 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.9025, allocations: 1.304 MB / 1.283 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.9043, allocations: 1.156 MB / 1.284 GB, free: 3.184 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.9059, allocations: 1.112 MB / 1.285 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.9062, allocations: 127.7 kB / 1.285 GB, free: 3.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.9079, allocations: 0.9208 MB / 1.286 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.9084, allocations: 481.8 kB / 1.286 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009122/0.9093, allocations: 1.093 MB / 1.287 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.9126, allocations: 3.459 MB / 1.291 GB, free: 2.246 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.9126, allocations: 1.594 kB / 1.291 GB, free: 2.246 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9127, allocations: 0 / 1.291 GB, free: 2.246 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.554e-05/0.9127, allocations: 0.8125 kB / 1.291 GB, free: 2.246 MB / 1.014 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.003449/0.9162, allocations: 2.812 MB / 1.294 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.9162, allocations: 10.5 kB / 1.294 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.9174, allocations: 370 kB / 1.294 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/0.9201, allocations: 2.016 MB / 1.296 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.9201, allocations: 58.69 kB / 1.296 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.9202, allocations: 75.64 kB / 1.296 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.9215, allocations: 0.9445 MB / 1.297 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.9216, allocations: 1.984 kB / 1.297 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.9216, allocations: 37.38 kB / 1.297 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.9217, allocations: 26.17 kB / 1.297 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.9227, allocations: 0.7041 MB / 1.298 GB, free: 15.92 MB / 1.029 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.004886/0.9276, allocations: 4.444 MB / 1.302 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.928, allocations: 315 kB / 1.302 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.9282, allocations: 180.1 kB / 1.302 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.9284, allocations: 94.02 kB / 1.303 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.9284, allocations: 39.62 kB / 1.303 GB, free: 13.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.9284, allocations: 0.9062 kB / 1.303 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.002705/0.9311, allocations: 1.712 MB / 1.304 GB, free: 12.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.9312, allocations: 55.12 kB / 1.304 GB, free: 12.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.9343, allocations: 2.947 MB / 1.307 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.9343, allocations: 38.22 kB / 1.307 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007116/0.935, allocations: 1.059 MB / 1.308 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.9351, allocations: 115.4 kB / 1.308 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.9353, allocations: 108.5 kB / 1.308 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9354, allocations: 335 kB / 1.309 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.9356, allocations: 163.7 kB / 1.309 GB, free: 12.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.9359, allocations: 368.2 kB / 1.309 GB, free: 11.8 MB / 1.029 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.001802/0.9377, allocations: 1.084 MB / 1.31 GB, free: 11.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.9377, allocations: 1.688 kB / 1.31 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009999/0.9387, allocations: 0.7918 MB / 1.311 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9388, allocations: 8.219 kB / 1.311 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.9388, allocations: 7.125 kB / 1.311 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.939, allocations: 66.88 kB / 1.311 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.9393, allocations: 99.16 kB / 1.311 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.9406, allocations: 1.863 MB / 1.313 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.9414, allocations: 26.73 kB / 1.313 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.9415, allocations: 27.12 kB / 1.313 GB, free: 9.805 MB / 1.029 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.0008303/0.9423, allocations: 0.7959 MB / 1.314 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.9425, allocations: 234.3 kB / 1.314 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.9428, allocations: 254.8 kB / 1.314 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.9429, allocations: 4.031 kB / 1.314 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9429, allocations: 1.469 kB / 1.314 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005648/0.9434, allocations: 0.5987 MB / 1.315 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.9459, allocations: 2.046 MB / 1.317 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9459, allocations: 4.031 kB / 1.317 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.9462, allocations: 65.19 kB / 1.317 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.9463, allocations: 58.67 kB / 1.317 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.9464, allocations: 10.97 kB / 1.317 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.9476, allocations: 1.865 MB / 1.319 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9477, allocations: 6.719 kB / 1.319 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.9486, allocations: 0.9265 MB / 1.32 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/0.9491, allocations: 413.3 kB / 1.32 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.9493, allocations: 10.62 kB / 1.32 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.9499, allocations: 21.7 kB / 1.32 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.9499, allocations: 31.02 kB / 1.32 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.95, allocations: 13.53 kB / 1.32 GB, free: 6.594 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002752/0.9527, allocations: 2.085 MB / 1.322 GB, free: 6.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9527, allocations: 3.531 kB / 1.322 GB, free: 6.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001409/0.9541, allocations: 295.1 kB / 1.323 GB, free: 6.449 MB / 1.029 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.0004769/0.9546, allocations: 164.2 kB / 1.323 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008278/0.9555, allocations: 0.5432 MB / 1.323 GB, free: 6.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9555, allocations: 4.312 kB / 1.323 GB, free: 6.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.9558, allocations: 294.5 kB / 1.324 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.9587, allocations: 0.9545 MB / 1.325 GB, free: 5.984 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.9634, allocations: 4.133 MB / 1.329 GB, free: 4.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.9646, allocations: 1.961 MB / 1.331 GB, free: 3.738 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007585/0.9654, allocations: 339 kB / 1.331 GB, free: 3.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.9656, allocations: 105.2 kB / 1.331 GB, free: 3.672 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.9656, allocations: 0 / 1.331 GB, free: 3.672 MB / 1.029 GB Notification: Performance of Templates: time 0.03889/1.004, allocations: 29.91 MB / 1.36 GB, free: 9.98 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches