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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_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.006697/0.006697, allocations: 99.83 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.001557/0.001557, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.517/2.517, allocations: 469.4 MB / 0.7421 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 1.064 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7911, allocations: 159.1 MB / 1.22 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1722/0.9633, allocations: 179.3 MB / 1.395 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.9788, allocations: 10.99 MB / 1.406 GB, free: 3.285 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.9818, allocations: 95.5 kB / 1.406 GB, free: 3.191 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005669/0.9875, allocations: 2.005 MB / 1.408 GB, free: 1.176 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005221/0.9928, allocations: 1.667 MB / 1.409 GB, free: 15.5 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.9956, allocations: 0.7901 MB / 1.41 GB, free: 14.71 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005031/1.001, allocations: 3.151 MB / 1.413 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002231/1.003, allocations: 1.328 MB / 1.414 GB, free: 10.19 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/1.005, allocations: 1.151 MB / 1.416 GB, free: 9.035 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/1.008, allocations: 1.104 MB / 1.417 GB, free: 7.934 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005828/1.009, allocations: 128 kB / 1.417 GB, free: 7.809 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/1.011, allocations: 0.9238 MB / 1.418 GB, free: 6.883 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008535/1.012, allocations: 478 kB / 1.418 GB, free: 6.414 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002238/1.014, allocations: 1.095 MB / 1.419 GB, free: 5.312 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00614/1.02, allocations: 3.479 MB / 1.423 GB, free: 1.82 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.02, allocations: 0 / 1.423 GB, free: 1.82 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.295e-06/1.02, allocations: 0 / 1.423 GB, free: 1.82 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001279/1.02, allocations: 0 / 1.423 GB, free: 1.82 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.006117/1.027, allocations: 2.896 MB / 1.425 GB, free: 14.86 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.027, allocations: 8.625 kB / 1.425 GB, free: 14.85 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/1.027, allocations: 126.7 kB / 1.426 GB, free: 14.72 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.029, allocations: 386 kB / 1.426 GB, free: 14.34 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/1.033, allocations: 2.035 MB / 1.428 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/1.033, allocations: 58 kB / 1.428 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/1.033, allocations: 87.94 kB / 1.428 GB, free: 12.1 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/1.035, allocations: 0.9407 MB / 1.429 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.035, allocations: 0 / 1.429 GB, free: 11.11 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/1.035, allocations: 32 kB / 1.429 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/1.035, allocations: 28.94 kB / 1.429 GB, free: 11.05 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/1.036, allocations: 0.7025 MB / 1.43 GB, free: 10.35 MB / 1.154 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.006592/1.043, allocations: 4.461 MB / 1.434 GB, free: 5.68 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/1.043, allocations: 306.9 kB / 1.434 GB, free: 5.371 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/1.043, allocations: 184.7 kB / 1.435 GB, free: 5.188 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.044, allocations: 101.1 kB / 1.435 GB, free: 5.07 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.044, allocations: 38.56 kB / 1.435 GB, free: 5.023 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/1.044, allocations: 0 / 1.435 GB, free: 5.023 MB / 1.154 GB Notification: Performance of matching and sorting (n=32): time 0.003388/1.047, allocations: 1.741 MB / 1.436 GB, free: 3.199 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/1.047, allocations: 55.41 kB / 1.436 GB, free: 3.133 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/1.051, allocations: 2.949 MB / 1.439 GB, free: 172 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/1.051, allocations: 33.7 kB / 1.439 GB, free: 132 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009693/1.052, allocations: 1.063 MB / 1.44 GB, free: 15.06 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/1.052, allocations: 126.9 kB / 1.441 GB, free: 14.93 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.052, allocations: 114.1 kB / 1.441 GB, free: 14.82 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.053, allocations: 330 kB / 1.441 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/1.053, allocations: 161 kB / 1.441 GB, free: 14.33 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/1.053, allocations: 374.4 kB / 1.441 GB, free: 13.88 MB / 1.17 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.002099/1.055, allocations: 1.078 MB / 1.442 GB, free: 12.7 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/1.055, allocations: 4 kB / 1.442 GB, free: 12.7 MB / 1.17 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001434/1.057, allocations: 0.8168 MB / 1.443 GB, free: 11.87 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.057, allocations: 9.719 kB / 1.443 GB, free: 11.86 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.057, allocations: 8 kB / 1.443 GB, free: 11.85 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/1.057, allocations: 60.81 kB / 1.443 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/1.057, allocations: 103.8 kB / 1.443 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/1.059, allocations: 1.854 MB / 1.445 GB, free: 9.699 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.06, allocations: 27.94 kB / 1.445 GB, free: 9.672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/1.06, allocations: 28.05 kB / 1.445 GB, free: 9.645 MB / 1.17 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.001165/1.061, allocations: 0.7978 MB / 1.446 GB, free: 8.836 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/1.062, allocations: 246.5 kB / 1.446 GB, free: 8.594 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/1.063, allocations: 255.7 kB / 1.447 GB, free: 8.344 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.063, allocations: 4 kB / 1.447 GB, free: 8.34 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.063, allocations: 0 / 1.447 GB, free: 8.34 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007347/1.063, allocations: 0.6009 MB / 1.447 GB, free: 7.668 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/1.067, allocations: 2.04 MB / 1.449 GB, free: 5.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.067, allocations: 7.938 kB / 1.449 GB, free: 5.512 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/1.068, allocations: 63.91 kB / 1.449 GB, free: 5.449 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001701/1.068, allocations: 65.16 kB / 1.449 GB, free: 5.383 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/1.068, allocations: 8 kB / 1.449 GB, free: 5.375 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/1.069, allocations: 1.865 MB / 1.451 GB, free: 3.363 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.069, allocations: 4 kB / 1.451 GB, free: 3.359 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/1.071, allocations: 0.9396 MB / 1.452 GB, free: 2.359 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/1.072, allocations: 427.4 kB / 1.452 GB, free: 1.922 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/1.072, allocations: 8 kB / 1.452 GB, free: 1.914 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/1.073, allocations: 15.98 kB / 1.452 GB, free: 1.898 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/1.073, allocations: 31.84 kB / 1.453 GB, free: 1.867 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/1.073, allocations: 20.06 kB / 1.453 GB, free: 1.848 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003417/1.076, allocations: 2.087 MB / 1.455 GB, free: 15.76 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/1.076, allocations: 0 / 1.455 GB, free: 15.76 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001254/1.078, allocations: 307.9 kB / 1.455 GB, free: 15.46 MB / 1.186 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.001845/1.079, allocations: 1.547 MB / 1.456 GB, free: 13.85 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009373/1.08, allocations: 0.5295 MB / 1.457 GB, free: 13.3 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.08, allocations: 1.688 kB / 1.457 GB, free: 13.3 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/1.081, allocations: 308.5 kB / 1.457 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/1.085, allocations: 0.9415 MB / 1.458 GB, free: 12.07 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02781/1.113, allocations: 17.17 MB / 1.475 GB, free: 10.5 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002333/1.115, allocations: 1.957 MB / 1.477 GB, free: 8.504 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001313/1.116, allocations: 334.9 kB / 1.477 GB, free: 8.172 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.118, allocations: 0.8 MB / 1.478 GB, free: 7.371 MB / 1.201 GB Notification: Performance of SimCode: time 1.763e-06/1.118, allocations: 0 / 1.478 GB, free: 7.371 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09245/1.21, allocations: 51.21 MB / 1.528 GB, free: 4.859 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.45, allocations: 8 kB / 1.528 GB, free: 4.852 MB / 1.248 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/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