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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001515/0.001515, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001503/0.001503, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.34 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8726/0.8746, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2363/1.111, allocations: 179.3 MB / 1.258 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0196/1.131, allocations: 10.98 MB / 1.269 GB, free: 64 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/1.135, allocations: 79.61 kB / 1.269 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006573/1.141, allocations: 2.009 MB / 1.271 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006004/1.147, allocations: 1.62 MB / 1.272 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/1.15, allocations: 0.7813 MB / 1.273 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005628/1.156, allocations: 3.127 MB / 1.276 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/1.158, allocations: 1.316 MB / 1.277 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/1.161, allocations: 1.237 MB / 1.279 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/1.163, allocations: 1.119 MB / 1.28 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003365/1.164, allocations: 132 kB / 1.28 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/1.166, allocations: 0.9083 MB / 1.281 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005813/1.166, allocations: 478.1 kB / 1.281 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/1.168, allocations: 1.095 MB / 1.282 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004458/1.172, allocations: 3.224 MB / 1.285 GB, free: 14.87 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.172, allocations: 4 kB / 1.285 GB, free: 14.87 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/1.172, allocations: 0 / 1.285 GB, free: 14.87 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.517e-05/1.172, allocations: 0 / 1.285 GB, free: 14.87 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.004353/1.177, allocations: 2.747 MB / 1.288 GB, free: 12.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.177, allocations: 12.03 kB / 1.288 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/1.178, allocations: 376.5 kB / 1.288 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/1.181, allocations: 1.88 MB / 1.29 GB, free: 9.727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/1.181, allocations: 61.98 kB / 1.29 GB, free: 9.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.181, allocations: 80 kB / 1.29 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/1.183, allocations: 0.9367 MB / 1.291 GB, free: 8.605 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/1.183, allocations: 7.984 kB / 1.291 GB, free: 8.598 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/1.183, allocations: 32 kB / 1.291 GB, free: 8.566 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/1.183, allocations: 28.94 kB / 1.291 GB, free: 8.539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.184, allocations: 0.6986 MB / 1.292 GB, free: 7.84 MB / 1.014 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.006278/1.191, allocations: 4.499 MB / 1.297 GB, free: 3.129 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/1.191, allocations: 318.6 kB / 1.297 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/1.191, allocations: 176.8 kB / 1.297 GB, free: 2.633 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/1.192, allocations: 101.1 kB / 1.297 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.192, allocations: 34.56 kB / 1.297 GB, free: 2.473 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/1.192, allocations: 0 / 1.297 GB, free: 2.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.003223/1.195, allocations: 1.707 MB / 1.299 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.195, allocations: 55.41 kB / 1.299 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004135/1.199, allocations: 2.973 MB / 1.302 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/1.199, allocations: 33.7 kB / 1.302 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.2, allocations: 1.058 MB / 1.303 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.2, allocations: 110.5 kB / 1.303 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/1.201, allocations: 114 kB / 1.303 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.201, allocations: 322 kB / 1.303 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/1.201, allocations: 165 kB / 1.303 GB, free: 11.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/1.201, allocations: 374.4 kB / 1.304 GB, free: 11.36 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.002261/1.204, allocations: 1.078 MB / 1.305 GB, free: 10.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.204, allocations: 3.938 kB / 1.305 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001374/1.205, allocations: 0.797 MB / 1.306 GB, free: 9.371 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.205, allocations: 15.94 kB / 1.306 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.205, allocations: 4 kB / 1.306 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/1.205, allocations: 68.84 kB / 1.306 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/1.206, allocations: 103.8 kB / 1.306 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/1.208, allocations: 1.861 MB / 1.308 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/1.209, allocations: 38.08 kB / 1.308 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/1.209, allocations: 27.94 kB / 1.308 GB, free: 7.121 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.001193/1.21, allocations: 0.7901 MB / 1.309 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/1.21, allocations: 229.1 kB / 1.309 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/1.211, allocations: 251.7 kB / 1.309 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.211, allocations: 4.125 kB / 1.309 GB, free: 5.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.211, allocations: 4 kB / 1.309 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007517/1.211, allocations: 0.6048 MB / 1.31 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/1.214, allocations: 2.053 MB / 1.312 GB, free: 2.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.214, allocations: 4 kB / 1.312 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/1.215, allocations: 67.91 kB / 1.312 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/1.215, allocations: 53.23 kB / 1.312 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/1.215, allocations: 12 kB / 1.312 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/1.217, allocations: 1.865 MB / 1.314 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.217, allocations: 4 kB / 1.314 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/1.218, allocations: 0.919 MB / 1.314 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/1.219, allocations: 414.1 kB / 1.315 GB, free: 15.44 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.219, allocations: 12.06 kB / 1.315 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/1.22, allocations: 18.23 kB / 1.315 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/1.22, allocations: 35.97 kB / 1.315 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/1.22, allocations: 15.98 kB / 1.315 GB, free: 15.36 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003147/1.223, allocations: 2.103 MB / 1.317 GB, free: 13.25 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.223, allocations: 0 / 1.317 GB, free: 13.25 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001072/1.224, allocations: 300 kB / 1.317 GB, free: 12.96 MB / 1.045 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.0004865/1.224, allocations: 164.2 kB / 1.317 GB, free: 12.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.226, allocations: 0.5501 MB / 1.318 GB, free: 12.24 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.226, allocations: 4.188 kB / 1.318 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000404/1.226, allocations: 294.4 kB / 1.318 GB, free: 11.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/1.23, allocations: 0.9526 MB / 1.319 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/1.236, allocations: 4.007 MB / 1.323 GB, free: 6.922 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.238, allocations: 1.816 MB / 1.325 GB, free: 5.074 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/1.238, allocations: 103.4 kB / 1.325 GB, free: 4.973 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/1.238, allocations: 0 / 1.325 GB, free: 4.973 MB / 1.045 GB Notification: Performance of Templates: time 0.06301/1.301, allocations: 42.87 MB / 1.367 GB, free: 10.3 MB / 1.092 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=400 -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