Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007476/0.007476, allocations: 97.56 kB / 15.73 MB, free: 6.039 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.002106/0.002106, allocations: 201.5 kB / 16.68 MB, free: 5.961 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2736, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6921/0.9658, allocations: 179.3 MB / 1.395 GB, free: 9.16 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.9822, allocations: 10.97 MB / 1.406 GB, free: 180 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.9844, allocations: 88.03 kB / 1.406 GB, free: 148 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005115/0.9896, allocations: 2 MB / 1.408 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003899/0.9935, allocations: 1.627 MB / 1.41 GB, free: 13.45 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.9955, allocations: 0.7837 MB / 1.41 GB, free: 12.85 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003578/0.999, allocations: 3.145 MB / 1.414 GB, free: 10.99 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/1.001, allocations: 1.326 MB / 1.415 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/1.002, allocations: 1.102 MB / 1.416 GB, free: 9.637 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/1.004, allocations: 1.112 MB / 1.417 GB, free: 8.957 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/1.004, allocations: 126.8 kB / 1.417 GB, free: 8.957 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/1.006, allocations: 0.9113 MB / 1.418 GB, free: 8.5 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/1.006, allocations: 484.4 kB / 1.418 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/1.007, allocations: 1.095 MB / 1.42 GB, free: 7.402 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/1.011, allocations: 3.473 MB / 1.423 GB, free: 5.133 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/1.011, allocations: 0 / 1.423 GB, free: 5.133 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.453e-06/1.011, allocations: 0 / 1.423 GB, free: 5.133 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.058e-05/1.011, allocations: 0 / 1.423 GB, free: 5.133 MB / 1.107 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.003772/1.015, allocations: 2.889 MB / 1.426 GB, free: 2.98 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/1.015, allocations: 7.969 kB / 1.426 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/1.015, allocations: 131.3 kB / 1.426 GB, free: 2.871 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/1.016, allocations: 391.6 kB / 1.426 GB, free: 2.559 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/1.019, allocations: 2.031 MB / 1.428 GB, free: 476 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/1.019, allocations: 58 kB / 1.428 GB, free: 416 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/1.02, allocations: 87.92 kB / 1.428 GB, free: 328 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/1.021, allocations: 0.9329 MB / 1.429 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.021, allocations: 0 / 1.429 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/1.021, allocations: 35.94 kB / 1.429 GB, free: 15.31 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/1.021, allocations: 32.94 kB / 1.429 GB, free: 15.28 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/1.022, allocations: 0.6995 MB / 1.43 GB, free: 14.58 MB / 1.123 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.005777/1.028, allocations: 4.457 MB / 1.434 GB, free: 9.91 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/1.029, allocations: 318.7 kB / 1.435 GB, free: 9.59 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/1.029, allocations: 172 kB / 1.435 GB, free: 9.422 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/1.029, allocations: 97.09 kB / 1.435 GB, free: 9.309 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/1.029, allocations: 42.5 kB / 1.435 GB, free: 9.258 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/1.029, allocations: 0 / 1.435 GB, free: 9.258 MB / 1.123 GB Notification: Performance of matching and sorting (n=32): time 0.003054/1.032, allocations: 1.745 MB / 1.437 GB, free: 7.43 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/1.032, allocations: 51.41 kB / 1.437 GB, free: 7.367 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/1.036, allocations: 2.949 MB / 1.44 GB, free: 4.402 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/1.036, allocations: 33.7 kB / 1.44 GB, free: 4.363 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.038, allocations: 1.071 MB / 1.441 GB, free: 3.285 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.038, allocations: 126.9 kB / 1.441 GB, free: 3.16 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/1.038, allocations: 110.2 kB / 1.441 GB, free: 3.047 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.038, allocations: 326 kB / 1.441 GB, free: 2.723 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/1.038, allocations: 169 kB / 1.441 GB, free: 2.555 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/1.039, allocations: 370.4 kB / 1.442 GB, free: 2.109 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.002342/1.041, allocations: 1.076 MB / 1.443 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.041, allocations: 3.938 kB / 1.443 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001261/1.043, allocations: 0.8127 MB / 1.444 GB, free: 104 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.043, allocations: 11.94 kB / 1.444 GB, free: 92 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.043, allocations: 4 kB / 1.444 GB, free: 88 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/1.043, allocations: 68.75 kB / 1.444 GB, free: 16 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/1.043, allocations: 95.84 kB / 1.444 GB, free: 15.92 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/1.045, allocations: 1.864 MB / 1.446 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/1.046, allocations: 29.55 kB / 1.446 GB, free: 13.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/1.046, allocations: 27.94 kB / 1.446 GB, free: 13.87 MB / 1.139 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.001029/1.047, allocations: 0.7901 MB / 1.446 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/1.047, allocations: 254.4 kB / 1.447 GB, free: 12.82 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/1.047, allocations: 251.7 kB / 1.447 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.047, allocations: 4 kB / 1.447 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.047, allocations: 4 kB / 1.447 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007739/1.048, allocations: 0.597 MB / 1.447 GB, free: 11.9 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/1.051, allocations: 2.041 MB / 1.449 GB, free: 9.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.051, allocations: 4 kB / 1.449 GB, free: 9.746 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/1.052, allocations: 68.31 kB / 1.45 GB, free: 9.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/1.052, allocations: 60.75 kB / 1.45 GB, free: 9.617 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/1.052, allocations: 19.94 kB / 1.45 GB, free: 9.598 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/1.054, allocations: 1.861 MB / 1.451 GB, free: 7.594 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.054, allocations: 4 kB / 1.451 GB, free: 7.59 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/1.055, allocations: 0.9358 MB / 1.452 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/1.056, allocations: 423.3 kB / 1.453 GB, free: 6.16 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/1.056, allocations: 15.98 kB / 1.453 GB, free: 6.145 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/1.056, allocations: 14.64 kB / 1.453 GB, free: 6.133 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/1.056, allocations: 35.91 kB / 1.453 GB, free: 6.098 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.056, allocations: 16 kB / 1.453 GB, free: 6.082 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002927/1.059, allocations: 2.083 MB / 1.455 GB, free: 3.996 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.059, allocations: 0 / 1.455 GB, free: 3.996 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009226/1.06, allocations: 307.9 kB / 1.455 GB, free: 3.695 MB / 1.139 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.001896/1.062, allocations: 1.556 MB / 1.457 GB, free: 2.078 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009195/1.063, allocations: 0.5304 MB / 1.457 GB, free: 1.535 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.063, allocations: 448 / 1.457 GB, free: 1.535 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000436/1.064, allocations: 308.4 kB / 1.457 GB, free: 1.223 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/1.067, allocations: 0.9486 MB / 1.458 GB, free: 308 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/1.091, allocations: 17.15 MB / 1.475 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/1.093, allocations: 1.961 MB / 1.477 GB, free: 12.73 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009092/1.094, allocations: 334.8 kB / 1.477 GB, free: 12.4 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.095, allocations: 0.8 MB / 1.478 GB, free: 11.6 MB / 1.17 GB Notification: Performance of SimCode: time 3.71e-07/1.095, allocations: 0 / 1.478 GB, free: 11.6 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0957/1.191, allocations: 51.2 MB / 1.528 GB, free: 9.094 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.52, allocations: 13.83 kB / 1.528 GB, free: 9.082 MB / 1.217 GB (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches