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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004992/0.004992, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.00123/0.00123, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.188/2.188, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6592, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1717/0.831, allocations: 179.3 MB / 1.342 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.8459, allocations: 10.97 MB / 1.353 GB, free: 4.816 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.8484, allocations: 95.5 kB / 1.353 GB, free: 4.723 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005157/0.8536, allocations: 2.009 MB / 1.355 GB, free: 2.703 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.8578, allocations: 1.66 MB / 1.356 GB, free: 1.035 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.86, allocations: 0.7914 MB / 1.357 GB, free: 252 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004068/0.8641, allocations: 3.149 MB / 1.36 GB, free: 13.09 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.8659, allocations: 1.32 MB / 1.361 GB, free: 11.74 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.8677, allocations: 1.167 MB / 1.362 GB, free: 10.57 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.8697, allocations: 1.105 MB / 1.364 GB, free: 9.465 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003736/0.8701, allocations: 136 kB / 1.364 GB, free: 9.332 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.872, allocations: 0.916 MB / 1.365 GB, free: 8.414 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.8726, allocations: 478.1 kB / 1.365 GB, free: 7.945 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.874, allocations: 1.088 MB / 1.366 GB, free: 6.852 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.8785, allocations: 3.475 MB / 1.369 GB, free: 3.363 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8785, allocations: 0 / 1.369 GB, free: 3.363 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8785, allocations: 0 / 1.369 GB, free: 3.363 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.406e-05/0.8786, allocations: 0 / 1.369 GB, free: 3.363 MB / 1.092 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.003739/0.8823, allocations: 2.896 MB / 1.372 GB, free: 412 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.8824, allocations: 8.922 kB / 1.372 GB, free: 404 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.8837, allocations: 394 kB / 1.373 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.8864, allocations: 2.039 MB / 1.375 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.8864, allocations: 58 kB / 1.375 GB, free: 13.85 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.8866, allocations: 75.98 kB / 1.375 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.8878, allocations: 0.9406 MB / 1.376 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.8878, allocations: 0 / 1.376 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.8879, allocations: 32 kB / 1.376 GB, free: 12.76 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.888, allocations: 28.94 kB / 1.376 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009762/0.8889, allocations: 0.6985 MB / 1.376 GB, free: 12.04 MB / 1.107 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.004957/0.8939, allocations: 4.465 MB / 1.381 GB, free: 7.355 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.8944, allocations: 311.8 kB / 1.381 GB, free: 7.043 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.8946, allocations: 182 kB / 1.381 GB, free: 6.863 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.8948, allocations: 97.09 kB / 1.381 GB, free: 6.75 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.8948, allocations: 39.06 kB / 1.381 GB, free: 6.703 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.8948, allocations: 0 / 1.381 GB, free: 6.703 MB / 1.107 GB Notification: Performance of matching and sorting (n=32): time 0.002635/0.8974, allocations: 1.738 MB / 1.383 GB, free: 4.887 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.8975, allocations: 55.41 kB / 1.383 GB, free: 4.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.9006, allocations: 2.953 MB / 1.386 GB, free: 1.852 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.9007, allocations: 33.7 kB / 1.386 GB, free: 1.812 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008349/0.9015, allocations: 1.067 MB / 1.387 GB, free: 0.7383 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.9016, allocations: 126.9 kB / 1.387 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.9018, allocations: 106.2 kB / 1.387 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9019, allocations: 326 kB / 1.388 GB, free: 184 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.9021, allocations: 173 kB / 1.388 GB, free: 8 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.9025, allocations: 366.4 kB / 1.388 GB, free: 15.56 MB / 1.123 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.00195/0.9045, allocations: 1.078 MB / 1.389 GB, free: 14.38 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9045, allocations: 7.938 kB / 1.389 GB, free: 14.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001063/0.9056, allocations: 0.8056 MB / 1.39 GB, free: 13.56 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9056, allocations: 8 kB / 1.39 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9056, allocations: 8 kB / 1.39 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.9058, allocations: 64.81 kB / 1.39 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.9061, allocations: 104.4 kB / 1.39 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.9076, allocations: 1.869 MB / 1.392 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.9083, allocations: 31.94 kB / 1.392 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.9084, allocations: 23.94 kB / 1.392 GB, free: 11.32 MB / 1.123 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.0009312/0.9093, allocations: 0.7953 MB / 1.393 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.9096, allocations: 246.4 kB / 1.393 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.9099, allocations: 251.7 kB / 1.393 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9099, allocations: 8.062 kB / 1.393 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9099, allocations: 0 / 1.393 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006093/0.9105, allocations: 0.6094 MB / 1.394 GB, free: 9.336 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.9131, allocations: 2.032 MB / 1.396 GB, free: 7.195 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9131, allocations: 8.062 kB / 1.396 GB, free: 7.188 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.9134, allocations: 68.03 kB / 1.396 GB, free: 7.121 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.9135, allocations: 56.83 kB / 1.396 GB, free: 7.062 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.9136, allocations: 11.98 kB / 1.396 GB, free: 7.051 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.915, allocations: 1.857 MB / 1.398 GB, free: 5.055 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.915, allocations: 4 kB / 1.398 GB, free: 5.051 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.916, allocations: 0.9472 MB / 1.399 GB, free: 4.043 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/0.9165, allocations: 419.4 kB / 1.399 GB, free: 3.613 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.9167, allocations: 11.98 kB / 1.399 GB, free: 3.602 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.9172, allocations: 12 kB / 1.399 GB, free: 3.59 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.9173, allocations: 36 kB / 1.399 GB, free: 3.555 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.9173, allocations: 23.92 kB / 1.399 GB, free: 3.531 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002452/0.9198, allocations: 2.087 MB / 1.401 GB, free: 1.441 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9198, allocations: 0 / 1.401 GB, free: 1.441 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008647/0.9207, allocations: 296 kB / 1.402 GB, free: 1.152 MB / 1.123 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.0003509/0.921, allocations: 182.4 kB / 1.402 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00078/0.9218, allocations: 0.5292 MB / 1.402 GB, free: 448 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9218, allocations: 0 / 1.402 GB, free: 448 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.9222, allocations: 302.4 kB / 1.403 GB, free: 132 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.9251, allocations: 0.944 MB / 1.403 GB, free: 15.2 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.9301, allocations: 4.206 MB / 1.408 GB, free: 10.91 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.9315, allocations: 1.949 MB / 1.41 GB, free: 8.93 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000863/0.9324, allocations: 350.8 kB / 1.41 GB, free: 8.582 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.9326, allocations: 107.4 kB / 1.41 GB, free: 8.477 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/0.9326, allocations: 0 / 1.41 GB, free: 8.477 MB / 1.139 GB Notification: Performance of Templates: time 0.04585/0.9784, allocations: 29.88 MB / 1.439 GB, free: 11.04 MB / 1.17 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/jenkins/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