Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008743/0.0008743, allocations: 91.92 kB / 16.02 MB, free: 80 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.001245/0.001245, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8528/0.8532, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2322/1.085, allocations: 174.5 MB / 1.194 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01684/1.102, allocations: 10.8 MB / 1.205 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003896/1.106, allocations: 79.5 kB / 1.205 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006481/1.113, allocations: 1.839 MB / 1.207 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/1.118, allocations: 1.481 MB / 1.208 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/1.121, allocations: 0.7211 MB / 1.209 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005683/1.127, allocations: 3.702 MB / 1.212 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/1.129, allocations: 1.125 MB / 1.213 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/1.131, allocations: 0.9597 MB / 1.214 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/1.134, allocations: 1.073 MB / 1.215 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000422/1.134, allocations: 68 kB / 1.215 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/1.136, allocations: 0.9975 MB / 1.216 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006858/1.137, allocations: 410.1 kB / 1.217 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/1.139, allocations: 1.038 MB / 1.218 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/1.142, allocations: 2.428 MB / 1.22 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.142, allocations: 0 / 1.22 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.104e-06/1.142, allocations: 0 / 1.22 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001124/1.142, allocations: 0 / 1.22 GB, free: 5.875 MB / 0.9669 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.004658/1.147, allocations: 2.312 MB / 1.222 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.147, allocations: 12.03 kB / 1.222 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.149, allocations: 368.5 kB / 1.223 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/1.153, allocations: 1.888 MB / 1.225 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/1.153, allocations: 58 kB / 1.225 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.153, allocations: 79.94 kB / 1.225 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/1.154, allocations: 0.9368 MB / 1.226 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/1.154, allocations: 0 / 1.226 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/1.154, allocations: 32 kB / 1.226 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/1.155, allocations: 32.98 kB / 1.226 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/1.156, allocations: 0.6946 MB / 1.226 GB, free: 15.3 MB / 0.9825 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.006072/1.162, allocations: 4.503 MB / 1.231 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/1.162, allocations: 318.7 kB / 1.231 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/1.163, allocations: 176.8 kB / 1.231 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/1.163, allocations: 97.19 kB / 1.231 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/1.163, allocations: 46.55 kB / 1.231 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/1.163, allocations: 0 / 1.231 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.00319/1.166, allocations: 1.707 MB / 1.233 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.166, allocations: 55.41 kB / 1.233 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/1.17, allocations: 2.973 MB / 1.236 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/1.17, allocations: 41.58 kB / 1.236 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.171, allocations: 1.046 MB / 1.237 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.171, allocations: 122.3 kB / 1.237 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/1.171, allocations: 53.69 kB / 1.237 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.172, allocations: 322 kB / 1.238 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/1.172, allocations: 165 kB / 1.238 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/1.172, allocations: 366.4 kB / 1.238 GB, free: 2.867 MB / 0.9825 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.002241/1.175, allocations: 1.09 MB / 1.239 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.175, allocations: 7.938 kB / 1.239 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001346/1.176, allocations: 0.7808 MB / 1.24 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.176, allocations: 16.72 kB / 1.24 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.176, allocations: 8 kB / 1.24 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/1.176, allocations: 64.81 kB / 1.24 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/1.177, allocations: 103.8 kB / 1.24 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/1.178, allocations: 1.678 MB / 1.242 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009753/1.179, allocations: 43.81 kB / 1.242 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/1.179, allocations: 32.05 kB / 1.242 GB, free: 14.8 MB / 0.9981 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.001144/1.181, allocations: 0.7939 MB / 1.243 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/1.181, allocations: 236.9 kB / 1.243 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/1.181, allocations: 251.7 kB / 1.243 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.181, allocations: 4.125 kB / 1.243 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.181, allocations: 8 kB / 1.243 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006929/1.182, allocations: 0.597 MB / 1.244 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/1.185, allocations: 2.045 MB / 1.246 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.185, allocations: 7.984 kB / 1.246 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/1.185, allocations: 67.86 kB / 1.246 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/1.185, allocations: 65.16 kB / 1.246 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.185, allocations: 12 kB / 1.246 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.187, allocations: 1.67 MB / 1.247 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.187, allocations: 4 kB / 1.247 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/1.188, allocations: 0.9295 MB / 1.248 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/1.188, allocations: 414 kB / 1.249 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.189, allocations: 15.98 kB / 1.249 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006062/1.189, allocations: 20.11 kB / 1.249 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/1.189, allocations: 43.91 kB / 1.249 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/1.189, allocations: 12 kB / 1.249 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002766/1.192, allocations: 2.103 MB / 1.251 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.192, allocations: 0 / 1.251 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009686/1.193, allocations: 300 kB / 1.251 GB, free: 4.809 MB / 0.9981 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.0004366/1.193, allocations: 187 kB / 1.251 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008769/1.194, allocations: 0.5308 MB / 1.252 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.194, allocations: 8 kB / 1.252 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/1.195, allocations: 294.3 kB / 1.252 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004665/1.199, allocations: 0.8842 MB / 1.253 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5308/1.73, allocations: 4.637 MB / 1.258 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.732, allocations: 1.82 MB / 1.259 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/1.733, allocations: 103.7 kB / 1.259 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/1.733, allocations: 0 / 1.259 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06583/1.799, allocations: 42.47 MB / 1.301 GB, free: 202.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches