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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> 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.005219/0.005219, allocations: 96.2 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.001598/0.001598, allocations: 200.7 kB / 16.68 MB, free: 5.969 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.55/2.55, allocations: 472.7 MB / 0.7453 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2731, allocations: 159.9 MB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7337/1.007, allocations: 179.3 MB / 1.4 GB, free: 3.055 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01521/1.022, allocations: 10.97 MB / 1.411 GB, free: 10.07 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/1.025, allocations: 95.28 kB / 1.411 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004995/1.03, allocations: 2.013 MB / 1.413 GB, free: 8.66 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/1.034, allocations: 1.662 MB / 1.415 GB, free: 7.328 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/1.036, allocations: 0.7983 MB / 1.416 GB, free: 6.711 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00377/1.039, allocations: 3.153 MB / 1.419 GB, free: 4.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/1.041, allocations: 1.323 MB / 1.42 GB, free: 4.121 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/1.042, allocations: 1.147 MB / 1.421 GB, free: 3.469 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/1.044, allocations: 1.106 MB / 1.422 GB, free: 2.797 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/1.044, allocations: 126.4 kB / 1.422 GB, free: 2.797 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/1.046, allocations: 0.9227 MB / 1.423 GB, free: 2.332 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/1.046, allocations: 475.4 kB / 1.424 GB, free: 1.992 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009179/1.047, allocations: 1.1 MB / 1.425 GB, free: 1.238 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003256/1.05, allocations: 3.478 MB / 1.428 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.05, allocations: 0 / 1.428 GB, free: 14.91 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.222e-06/1.05, allocations: 4 kB / 1.428 GB, free: 14.91 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.331e-05/1.05, allocations: 0 / 1.428 GB, free: 14.91 MB / 1.123 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.003449/1.054, allocations: 2.886 MB / 1.431 GB, free: 11.96 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.054, allocations: 12.03 kB / 1.431 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/1.054, allocations: 130.6 kB / 1.431 GB, free: 11.81 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/1.055, allocations: 382 kB / 1.431 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/1.058, allocations: 2.039 MB / 1.433 GB, free: 9.332 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/1.058, allocations: 58 kB / 1.433 GB, free: 9.273 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.058, allocations: 80 kB / 1.434 GB, free: 9.195 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.06, allocations: 0.9376 MB / 1.434 GB, free: 8.219 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/1.06, allocations: 7.984 kB / 1.434 GB, free: 8.211 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/1.06, allocations: 32 kB / 1.434 GB, free: 8.18 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.394e-05/1.06, allocations: 28.94 kB / 1.434 GB, free: 8.152 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/1.061, allocations: 0.6993 MB / 1.435 GB, free: 7.453 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.004861/1.066, allocations: 4.453 MB / 1.44 GB, free: 2.785 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/1.066, allocations: 315.4 kB / 1.44 GB, free: 2.469 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/1.066, allocations: 176.8 kB / 1.44 GB, free: 2.293 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.067, allocations: 101.1 kB / 1.44 GB, free: 2.176 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/1.067, allocations: 34.56 kB / 1.44 GB, free: 2.133 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.846e-06/1.067, allocations: 4 kB / 1.44 GB, free: 2.129 MB / 1.123 GB Notification: Performance of matching and sorting (n=32): time 0.002613/1.069, allocations: 1.749 MB / 1.442 GB, free: 304 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.069, allocations: 59.39 kB / 1.442 GB, free: 232 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/1.073, allocations: 2.945 MB / 1.445 GB, free: 13.27 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/1.073, allocations: 33.7 kB / 1.445 GB, free: 13.23 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009593/1.074, allocations: 1.063 MB / 1.446 GB, free: 12.16 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/1.074, allocations: 126.9 kB / 1.446 GB, free: 12.03 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.074, allocations: 110.2 kB / 1.446 GB, free: 11.92 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.074, allocations: 330 kB / 1.446 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/1.074, allocations: 165 kB / 1.447 GB, free: 11.43 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/1.075, allocations: 378.3 kB / 1.447 GB, free: 10.97 MB / 1.139 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.001945/1.077, allocations: 1.075 MB / 1.448 GB, free: 9.797 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.077, allocations: 7.938 kB / 1.448 GB, free: 9.789 MB / 1.139 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001083/1.078, allocations: 0.8087 MB / 1.449 GB, free: 8.969 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.078, allocations: 8 kB / 1.449 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.078, allocations: 8 kB / 1.449 GB, free: 8.953 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/1.078, allocations: 61.39 kB / 1.449 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/1.078, allocations: 99.83 kB / 1.449 GB, free: 8.793 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/1.08, allocations: 1.872 MB / 1.451 GB, free: 6.789 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/1.08, allocations: 20 kB / 1.451 GB, free: 6.77 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/1.08, allocations: 27.94 kB / 1.451 GB, free: 6.742 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.0008557/1.081, allocations: 0.7862 MB / 1.452 GB, free: 5.945 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/1.082, allocations: 254.5 kB / 1.452 GB, free: 5.695 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/1.082, allocations: 251.7 kB / 1.452 GB, free: 5.449 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/1.082, allocations: 15.92 kB / 1.452 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.082, allocations: 0 / 1.452 GB, free: 5.434 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006441/1.083, allocations: 0.597 MB / 1.453 GB, free: 4.766 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/1.085, allocations: 2.05 MB / 1.455 GB, free: 2.609 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.085, allocations: 4 kB / 1.455 GB, free: 2.605 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/1.085, allocations: 63.91 kB / 1.455 GB, free: 2.543 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001291/1.086, allocations: 56.81 kB / 1.455 GB, free: 2.484 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/1.086, allocations: 12 kB / 1.455 GB, free: 2.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/1.087, allocations: 1.853 MB / 1.457 GB, free: 488 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.087, allocations: 11.95 kB / 1.457 GB, free: 476 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.088, allocations: 0.9397 MB / 1.458 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005326/1.089, allocations: 423.3 kB / 1.458 GB, free: 15.03 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/1.089, allocations: 16.12 kB / 1.458 GB, free: 15.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/1.089, allocations: 16.05 kB / 1.458 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/1.089, allocations: 35.84 kB / 1.458 GB, free: 14.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/1.09, allocations: 12 kB / 1.458 GB, free: 14.95 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002452/1.092, allocations: 2.083 MB / 1.46 GB, free: 12.87 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.81e-07/1.092, allocations: 0 / 1.46 GB, free: 12.87 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000873/1.093, allocations: 303.9 kB / 1.46 GB, free: 12.57 MB / 1.154 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.001563/1.094, allocations: 1.565 MB / 1.462 GB, free: 10.95 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008119/1.095, allocations: 0.5305 MB / 1.462 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.095, allocations: 0 / 1.462 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/1.096, allocations: 300.2 kB / 1.463 GB, free: 10.1 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/1.099, allocations: 0.9481 MB / 1.464 GB, free: 9.176 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/1.119, allocations: 17.15 MB / 1.48 GB, free: 7.613 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.121, allocations: 1.965 MB / 1.482 GB, free: 5.613 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009576/1.122, allocations: 346.8 kB / 1.483 GB, free: 5.27 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008607/1.123, allocations: 0.7999 MB / 1.483 GB, free: 4.469 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/1.123, allocations: 4 kB / 1.483 GB, free: 4.465 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08201/1.205, allocations: 51.2 MB / 1.533 GB, free: 1.945 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.04, allocations: 15.73 kB / 1.533 GB, free: 1.93 MB / 1.217 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