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.001536/0.001536, allocations: 112.3 kB / 16.42 MB, free: 6.52 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.00176/0.00176, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.474/2.474, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.81/0.8115, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1964/1.008, allocations: 179.3 MB / 1.342 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01637/1.024, allocations: 10.97 MB / 1.353 GB, free: 4.844 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/1.028, allocations: 95.5 kB / 1.353 GB, free: 4.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00777/1.036, allocations: 2.013 MB / 1.355 GB, free: 2.727 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006369/1.042, allocations: 1.659 MB / 1.357 GB, free: 1.059 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/1.046, allocations: 0.7921 MB / 1.358 GB, free: 276 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006333/1.052, allocations: 3.141 MB / 1.361 GB, free: 13.12 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/1.054, allocations: 1.32 MB / 1.362 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/1.057, allocations: 1.155 MB / 1.363 GB, free: 10.61 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/1.06, allocations: 1.117 MB / 1.364 GB, free: 9.496 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004571/1.061, allocations: 124 kB / 1.364 GB, free: 9.375 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/1.063, allocations: 0.92 MB / 1.365 GB, free: 8.453 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007607/1.064, allocations: 478 kB / 1.366 GB, free: 7.984 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/1.066, allocations: 1.099 MB / 1.367 GB, free: 6.879 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006133/1.072, allocations: 3.471 MB / 1.37 GB, free: 3.395 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/1.072, allocations: 4 kB / 1.37 GB, free: 3.391 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.465e-06/1.072, allocations: 0 / 1.37 GB, free: 3.391 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.294e-05/1.072, allocations: 0 / 1.37 GB, free: 3.391 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.005611/1.078, allocations: 2.892 MB / 1.373 GB, free: 444 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.078, allocations: 8.922 kB / 1.373 GB, free: 436 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/1.08, allocations: 398 kB / 1.373 GB, free: 36 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/1.085, allocations: 2.035 MB / 1.375 GB, free: 13.94 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/1.085, allocations: 58 kB / 1.375 GB, free: 13.88 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/1.085, allocations: 76 kB / 1.376 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/1.087, allocations: 0.9368 MB / 1.376 GB, free: 12.83 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/1.087, allocations: 4 kB / 1.376 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.964e-05/1.087, allocations: 32 kB / 1.376 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/1.088, allocations: 32.92 kB / 1.376 GB, free: 12.76 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/1.089, allocations: 0.6986 MB / 1.377 GB, free: 12.06 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.008171/1.097, allocations: 4.457 MB / 1.382 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/1.098, allocations: 314.7 kB / 1.382 GB, free: 7.074 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/1.098, allocations: 186.5 kB / 1.382 GB, free: 6.891 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/1.099, allocations: 97.09 kB / 1.382 GB, free: 6.777 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.099, allocations: 43 kB / 1.382 GB, free: 6.727 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 3.316e-06/1.099, allocations: 0 / 1.382 GB, free: 6.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=32): time 0.004251/1.103, allocations: 1.734 MB / 1.384 GB, free: 4.914 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.103, allocations: 55.41 kB / 1.384 GB, free: 4.848 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005398/1.108, allocations: 2.953 MB / 1.387 GB, free: 1.879 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/1.109, allocations: 33.7 kB / 1.387 GB, free: 1.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/1.11, allocations: 1.063 MB / 1.388 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/1.11, allocations: 126.9 kB / 1.388 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.11, allocations: 114.1 kB / 1.388 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.11, allocations: 326 kB / 1.388 GB, free: 208 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/1.111, allocations: 165 kB / 1.389 GB, free: 40 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/1.111, allocations: 370.4 kB / 1.389 GB, free: 15.59 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.003017/1.114, allocations: 1.074 MB / 1.39 GB, free: 14.42 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.114, allocations: 7.938 kB / 1.39 GB, free: 14.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001759/1.116, allocations: 0.81 MB / 1.391 GB, free: 13.59 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.116, allocations: 10.5 kB / 1.391 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.116, allocations: 8 kB / 1.391 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/1.116, allocations: 60.75 kB / 1.391 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/1.117, allocations: 103.8 kB / 1.391 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/1.118, allocations: 1.861 MB / 1.393 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/1.119, allocations: 28.5 kB / 1.393 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.119, allocations: 28.06 kB / 1.393 GB, free: 11.36 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.001125/1.121, allocations: 0.7939 MB / 1.394 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/1.121, allocations: 246.4 kB / 1.394 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/1.121, allocations: 259.6 kB / 1.394 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006618/1.122, allocations: 0.6017 MB / 1.395 GB, free: 9.383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.122, allocations: 96 / 1.395 GB, free: 9.383 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/1.123, allocations: 423.4 kB / 1.395 GB, free: 8.949 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/1.123, allocations: 7.984 kB / 1.395 GB, free: 8.941 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/1.123, allocations: 11.94 kB / 1.395 GB, free: 8.93 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/1.123, allocations: 19.97 kB / 1.395 GB, free: 8.91 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001089/1.124, allocations: 0.5288 MB / 1.396 GB, free: 8.371 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000979/1.125, allocations: 0.9182 MB / 1.396 GB, free: 7.438 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000218/1.126, allocations: 168.6 kB / 1.397 GB, free: 7.273 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002832/1.128, allocations: 2.087 MB / 1.399 GB, free: 5.184 MB / 1.123 GB Notification: Performance of Backend: time 3.71e-07/1.129, allocations: 0 / 1.399 GB, free: 5.184 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.131, allocations: 0.6845 MB / 1.399 GB, free: 4.488 MB / 1.123 GB Notification: Performance of SimCode: time 0.007659/1.138, allocations: 5.413 MB / 1.405 GB, free: 15.03 MB / 1.139 GB Notification: Performance of Templates: time 0.052/1.19, allocations: 31.51 MB / 1.435 GB, free: 15.95 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/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