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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00114/0.00114, allocations: 109.3 kB / 15.7 MB, free: 132 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.001111/0.001111, allocations: 195.4 kB / 16.63 MB, free: 6.609 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.178/1.178, allocations: 222.9 MB / 240.3 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.044/2.044, allocations: 390.3 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 70.66 kB / 0.951 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2219, allocations: 140.4 MB / 1.088 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6381/0.86, allocations: 179.2 MB / 1.263 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.8724, allocations: 10.97 MB / 1.274 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.8742, allocations: 88.59 kB / 1.274 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004573/0.8788, allocations: 2.003 MB / 1.276 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.8823, allocations: 1.617 MB / 1.277 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.8842, allocations: 0.7889 MB / 1.278 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003994/0.8882, allocations: 3.138 MB / 1.281 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.8897, allocations: 1.325 MB / 1.283 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.8913, allocations: 1.102 MB / 1.284 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.893, allocations: 1.106 MB / 1.285 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.8933, allocations: 128.5 kB / 1.285 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.8951, allocations: 0.9221 MB / 1.286 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.8955, allocations: 480.3 kB / 1.286 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009163/0.8965, allocations: 1.094 MB / 1.287 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.8997, allocations: 3.235 MB / 1.29 GB, free: 2.293 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8997, allocations: 0.9062 kB / 1.29 GB, free: 2.293 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8997, allocations: 1.094 kB / 1.29 GB, free: 2.293 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.999e-05/0.8997, allocations: 0 / 1.29 GB, free: 2.293 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.003529/0.9033, allocations: 2.749 MB / 1.293 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.9033, allocations: 10.5 kB / 1.293 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.9046, allocations: 373.6 kB / 1.294 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/0.9073, allocations: 2.011 MB / 1.295 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.9074, allocations: 58.69 kB / 1.296 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.9075, allocations: 75.42 kB / 1.296 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.9088, allocations: 0.9383 MB / 1.297 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.9088, allocations: 5.188 kB / 1.297 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.09e-05/0.9089, allocations: 36.19 kB / 1.297 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.909, allocations: 29.59 kB / 1.297 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.91, allocations: 0.6996 MB / 1.297 GB, free: 15.97 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.005028/0.9151, allocations: 4.448 MB / 1.302 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.9155, allocations: 310.6 kB / 1.302 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.9158, allocations: 178.4 kB / 1.302 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.9159, allocations: 95.3 kB / 1.302 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.916, allocations: 39.7 kB / 1.302 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.916, allocations: 0 / 1.302 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.002624/0.9186, allocations: 1.711 MB / 1.304 GB, free: 13.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.9186, allocations: 56.03 kB / 1.304 GB, free: 12.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.9218, allocations: 2.949 MB / 1.307 GB, free: 12.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.9219, allocations: 34.86 kB / 1.307 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007099/0.9226, allocations: 1.059 MB / 1.308 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.716e-05/0.9227, allocations: 118.2 kB / 1.308 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.9229, allocations: 111 kB / 1.308 GB, free: 12.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.923, allocations: 331.2 kB / 1.308 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.9232, allocations: 164.5 kB / 1.309 GB, free: 12.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.9235, allocations: 371.5 kB / 1.309 GB, free: 11.85 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.001807/0.9253, allocations: 1.076 MB / 1.31 GB, free: 11.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9253, allocations: 1.125 kB / 1.31 GB, free: 11.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001024/0.9264, allocations: 0.7976 MB / 1.311 GB, free: 11.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9264, allocations: 11.31 kB / 1.311 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.9264, allocations: 5.562 kB / 1.311 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.9266, allocations: 66.55 kB / 1.311 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.9269, allocations: 102.6 kB / 1.311 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.9283, allocations: 1.851 MB / 1.313 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.9291, allocations: 30.38 kB / 1.313 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.9292, allocations: 29.97 kB / 1.313 GB, free: 9.863 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.0008455/0.93, allocations: 0.7904 MB / 1.314 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.9303, allocations: 237.6 kB / 1.314 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.9306, allocations: 254.6 kB / 1.314 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9306, allocations: 4.625 kB / 1.314 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.9306, allocations: 5.031 kB / 1.314 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005597/0.9312, allocations: 0.6072 MB / 1.315 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.9336, allocations: 2.043 MB / 1.317 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9336, allocations: 3.094 kB / 1.317 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.9339, allocations: 67.98 kB / 1.317 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.934, allocations: 60.03 kB / 1.317 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.934, allocations: 9.844 kB / 1.317 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.9353, allocations: 1.853 MB / 1.319 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9354, allocations: 6.078 kB / 1.319 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.9364, allocations: 0.9281 MB / 1.32 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.9369, allocations: 405.9 kB / 1.32 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.9371, allocations: 14.12 kB / 1.32 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.9377, allocations: 20.31 kB / 1.32 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.9377, allocations: 32.55 kB / 1.32 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.9378, allocations: 14.7 kB / 1.32 GB, free: 6.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002408/0.9402, allocations: 2.086 MB / 1.322 GB, free: 6.504 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9402, allocations: 0.9375 kB / 1.322 GB, free: 6.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000932/0.9411, allocations: 297.2 kB / 1.322 GB, free: 6.504 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.0003397/0.9415, allocations: 177.9 kB / 1.322 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007397/0.9422, allocations: 0.5379 MB / 1.323 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9422, allocations: 0.8438 kB / 1.323 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.9426, allocations: 300.4 kB / 1.323 GB, free: 6.168 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.9456, allocations: 0.9491 MB / 1.324 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.9504, allocations: 4.135 MB / 1.328 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.9516, allocations: 1.956 MB / 1.33 GB, free: 3.789 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009198/0.9526, allocations: 335.2 kB / 1.33 GB, free: 3.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.9527, allocations: 103 kB / 1.331 GB, free: 3.727 MB / 1.029 GB Notification: Performance of SimCode: time 6.12e-07/0.9528, allocations: 4 kB / 1.331 GB, free: 3.723 MB / 1.029 GB Notification: Performance of Templates: time 0.04317/0.9959, allocations: 29.72 MB / 1.36 GB, free: 10.27 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