Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_9_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.001484/0.001484, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001786, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.42 kB / 0.9505 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2858, allocations: 140.4 MB / 1.088 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7091/0.9949, allocations: 179.3 MB / 1.263 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01412/1.009, allocations: 10.97 MB / 1.273 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/1.012, allocations: 95 kB / 1.273 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005723/1.018, allocations: 2.016 MB / 1.275 GB, free: 3.078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004829/1.022, allocations: 1.671 MB / 1.277 GB, free: 3.027 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/1.025, allocations: 0.7941 MB / 1.278 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005657/1.031, allocations: 3.147 MB / 1.281 GB, free: 3.004 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/1.033, allocations: 1.317 MB / 1.282 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/1.035, allocations: 1.157 MB / 1.283 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/1.038, allocations: 1.101 MB / 1.284 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005316/1.038, allocations: 128.3 kB / 1.285 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/1.041, allocations: 0.9245 MB / 1.285 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006112/1.042, allocations: 479.3 kB / 1.286 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/1.043, allocations: 1.092 MB / 1.287 GB, free: 2.469 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005341/1.048, allocations: 3.478 MB / 1.29 GB, free: 1.891 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.049, allocations: 0 / 1.29 GB, free: 1.891 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.746e-06/1.049, allocations: 1.656 kB / 1.29 GB, free: 1.891 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.64e-05/1.049, allocations: 1.031 kB / 1.29 GB, free: 1.891 MB / 1.014 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.005242/1.054, allocations: 2.888 MB / 1.293 GB, free: 388 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.054, allocations: 9.406 kB / 1.293 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/1.054, allocations: 126.8 kB / 1.293 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/1.056, allocations: 383.2 kB / 1.294 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/1.06, allocations: 2.044 MB / 1.296 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/1.06, allocations: 58.44 kB / 1.296 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.06, allocations: 75.22 kB / 1.296 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/1.061, allocations: 0.9388 MB / 1.297 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/1.061, allocations: 4.75 kB / 1.297 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/1.062, allocations: 37.52 kB / 1.297 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/1.062, allocations: 26.55 kB / 1.297 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.063, allocations: 0.6998 MB / 1.297 GB, free: 15.41 MB / 1.029 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.006339/1.069, allocations: 4.464 MB / 1.302 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/1.069, allocations: 316.6 kB / 1.302 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/1.07, allocations: 178.3 kB / 1.302 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/1.07, allocations: 94.64 kB / 1.302 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.07, allocations: 37.41 kB / 1.302 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.715e-06/1.07, allocations: 3.938 kB / 1.302 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.003336/1.073, allocations: 1.751 MB / 1.304 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.073, allocations: 57.52 kB / 1.304 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/1.077, allocations: 2.952 MB / 1.307 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/1.077, allocations: 36.02 kB / 1.307 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/1.078, allocations: 1.064 MB / 1.308 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.078, allocations: 122.7 kB / 1.308 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.079, allocations: 110.6 kB / 1.308 GB, free: 11.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/1.079, allocations: 331.9 kB / 1.309 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/1.079, allocations: 164.1 kB / 1.309 GB, free: 11.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/1.079, allocations: 367.2 kB / 1.309 GB, free: 11.23 MB / 1.029 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.001963/1.081, allocations: 1.084 MB / 1.31 GB, free: 10.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/1.081, allocations: 2.375 kB / 1.31 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001391/1.083, allocations: 0.7963 MB / 1.311 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.083, allocations: 9.125 kB / 1.311 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.083, allocations: 5.75 kB / 1.311 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/1.083, allocations: 67.23 kB / 1.311 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/1.083, allocations: 105.8 kB / 1.311 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/1.085, allocations: 1.86 MB / 1.313 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.086, allocations: 30.7 kB / 1.313 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/1.086, allocations: 27.12 kB / 1.313 GB, free: 9.227 MB / 1.029 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.001293/1.087, allocations: 0.793 MB / 1.314 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/1.088, allocations: 247.5 kB / 1.314 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/1.088, allocations: 251.7 kB / 1.314 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.088, allocations: 3.531 kB / 1.314 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/1.088, allocations: 9.156 kB / 1.314 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006345/1.089, allocations: 0.5934 MB / 1.315 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/1.093, allocations: 2.042 MB / 1.317 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.093, allocations: 8.531 kB / 1.317 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/1.093, allocations: 62.03 kB / 1.317 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/1.093, allocations: 60 kB / 1.317 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/1.093, allocations: 10.44 kB / 1.317 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/1.095, allocations: 1.86 MB / 1.319 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.095, allocations: 11 kB / 1.319 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/1.096, allocations: 0.9333 MB / 1.32 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.097, allocations: 422.9 kB / 1.32 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/1.098, allocations: 12.14 kB / 1.32 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/1.098, allocations: 21.41 kB / 1.32 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/1.098, allocations: 30.06 kB / 1.32 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/1.099, allocations: 15.59 kB / 1.32 GB, free: 5.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002808/1.101, allocations: 2.084 MB / 1.322 GB, free: 5.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.101, allocations: 0.9688 kB / 1.322 GB, free: 5.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001213/1.103, allocations: 302.6 kB / 1.323 GB, free: 5.84 MB / 1.029 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.001594/1.104, allocations: 1.568 MB / 1.324 GB, free: 4.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008462/1.105, allocations: 0.5323 MB / 1.325 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.105, allocations: 0.8438 kB / 1.325 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/1.105, allocations: 300.6 kB / 1.325 GB, free: 4.676 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/1.109, allocations: 0.9454 MB / 1.326 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/1.133, allocations: 17.15 MB / 1.343 GB, free: 15.12 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.134, allocations: 1.95 MB / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001249/1.136, allocations: 348.3 kB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009094/1.137, allocations: 0.8012 MB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of SimCode: time 2.505e-06/1.137, allocations: 0 / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08871/1.225, allocations: 51.21 MB / 1.396 GB, free: 8.004 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.55, allocations: 11.25 kB / 1.396 GB, free: 7.996 MB / 1.076 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches