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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001174/0.001174, allocations: 105.8 kB / 16.41 MB, free: 6.449 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.001128/0.001128, allocations: 190.5 kB / 17.35 MB, free: 5.742 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.513/2.513, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7924, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1956/0.988, allocations: 179.3 MB / 1.383 GB, free: 9.672 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01851/1.007, allocations: 10.97 MB / 1.394 GB, free: 14.67 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/1.011, allocations: 87.5 kB / 1.394 GB, free: 14.59 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0071/1.018, allocations: 2.001 MB / 1.396 GB, free: 12.57 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/1.023, allocations: 1.62 MB / 1.398 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/1.026, allocations: 0.7896 MB / 1.398 GB, free: 10.16 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004741/1.03, allocations: 3.151 MB / 1.402 GB, free: 7 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/1.032, allocations: 1.316 MB / 1.403 GB, free: 5.648 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/1.034, allocations: 1.104 MB / 1.404 GB, free: 4.539 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/1.037, allocations: 1.11 MB / 1.405 GB, free: 3.43 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004427/1.037, allocations: 128 kB / 1.405 GB, free: 3.305 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/1.039, allocations: 0.9121 MB / 1.406 GB, free: 2.391 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/1.04, allocations: 486 kB / 1.406 GB, free: 1.914 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/1.041, allocations: 1.091 MB / 1.408 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003352/1.044, allocations: 3.243 MB / 1.411 GB, free: 13.56 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/1.044, allocations: 0 / 1.411 GB, free: 13.56 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.272e-06/1.044, allocations: 0 / 1.411 GB, free: 13.56 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.33e-05/1.044, allocations: 0 / 1.411 GB, free: 13.56 MB / 1.139 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.003498/1.048, allocations: 2.748 MB / 1.413 GB, free: 10.75 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.048, allocations: 8.031 kB / 1.413 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/1.049, allocations: 376.5 kB / 1.414 GB, free: 10.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/1.052, allocations: 2.005 MB / 1.416 GB, free: 8.301 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/1.052, allocations: 58 kB / 1.416 GB, free: 8.246 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.052, allocations: 80 kB / 1.416 GB, free: 8.168 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.054, allocations: 0.9329 MB / 1.417 GB, free: 7.188 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.054, allocations: 7.938 kB / 1.417 GB, free: 7.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/1.054, allocations: 35.98 kB / 1.417 GB, free: 7.145 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/1.054, allocations: 32.92 kB / 1.417 GB, free: 7.113 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/1.055, allocations: 0.6908 MB / 1.418 GB, free: 6.422 MB / 1.139 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.00532/1.06, allocations: 4.448 MB / 1.422 GB, free: 1.762 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/1.061, allocations: 317.7 kB / 1.422 GB, free: 1.445 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/1.061, allocations: 177.3 kB / 1.422 GB, free: 1.27 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/1.061, allocations: 101.1 kB / 1.422 GB, free: 1.152 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.061, allocations: 34.56 kB / 1.422 GB, free: 1.109 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/1.061, allocations: 0 / 1.422 GB, free: 1.109 MB / 1.139 GB Notification: Performance of matching and sorting (n=32): time 0.00279/1.064, allocations: 1.709 MB / 1.424 GB, free: 15.31 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/1.064, allocations: 55.41 kB / 1.424 GB, free: 15.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/1.068, allocations: 2.949 MB / 1.427 GB, free: 12.28 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/1.068, allocations: 29.7 kB / 1.427 GB, free: 12.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009762/1.069, allocations: 1.062 MB / 1.428 GB, free: 11.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/1.069, allocations: 118.4 kB / 1.428 GB, free: 11.06 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/1.069, allocations: 117.9 kB / 1.428 GB, free: 10.94 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.069, allocations: 322 kB / 1.429 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/1.069, allocations: 169 kB / 1.429 GB, free: 10.46 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/1.07, allocations: 374.3 kB / 1.429 GB, free: 10 MB / 1.154 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.002042/1.072, allocations: 1.074 MB / 1.43 GB, free: 8.828 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.072, allocations: 3.938 kB / 1.43 GB, free: 8.824 MB / 1.154 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001214/1.073, allocations: 0.7924 MB / 1.431 GB, free: 8.02 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.073, allocations: 12 kB / 1.431 GB, free: 8.008 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.073, allocations: 7.984 kB / 1.431 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/1.073, allocations: 64.83 kB / 1.431 GB, free: 7.934 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/1.074, allocations: 103.8 kB / 1.431 GB, free: 7.832 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/1.075, allocations: 1.853 MB / 1.433 GB, free: 5.844 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008482/1.076, allocations: 27.89 kB / 1.433 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/1.076, allocations: 32 kB / 1.433 GB, free: 5.785 MB / 1.154 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.001186/1.077, allocations: 0.7903 MB / 1.434 GB, free: 4.984 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/1.078, allocations: 229.1 kB / 1.434 GB, free: 4.758 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/1.078, allocations: 255.7 kB / 1.434 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006476/1.079, allocations: 0.6047 MB / 1.435 GB, free: 3.828 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.079, allocations: 0 / 1.435 GB, free: 3.828 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005756/1.079, allocations: 406 kB / 1.435 GB, free: 3.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.079, allocations: 12 kB / 1.435 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/1.08, allocations: 8 kB / 1.435 GB, free: 3.391 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/1.08, allocations: 20.09 kB / 1.435 GB, free: 3.371 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009611/1.081, allocations: 0.5365 MB / 1.436 GB, free: 2.824 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009794/1.082, allocations: 0.9095 MB / 1.437 GB, free: 1.898 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002318/1.082, allocations: 160 kB / 1.437 GB, free: 1.742 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002819/1.085, allocations: 2.087 MB / 1.439 GB, free: 15.65 MB / 1.17 GB Notification: Performance of Backend: time 3.91e-07/1.085, allocations: 0 / 1.439 GB, free: 15.65 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001884/1.087, allocations: 0.6848 MB / 1.44 GB, free: 14.96 MB / 1.17 GB Notification: Performance of SimCode: time 0.008337/1.095, allocations: 5.341 MB / 1.445 GB, free: 9.574 MB / 1.17 GB Notification: Performance of Templates: time 0.05192/1.147, allocations: 31.3 MB / 1.475 GB, free: 10.7 MB / 1.201 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=480 -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