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.004385/0.004386, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.0009927/0.0009928, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.375 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.198/2.198, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 74.31 kB / 0.9505 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2435, allocations: 140.4 MB / 1.088 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.746/0.9896, allocations: 179.3 MB / 1.263 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.004, allocations: 10.97 MB / 1.273 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/1.007, allocations: 88.38 kB / 1.273 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00588/1.013, allocations: 2.005 MB / 1.275 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004739/1.018, allocations: 1.618 MB / 1.277 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/1.02, allocations: 0.7948 MB / 1.278 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005376/1.026, allocations: 3.144 MB / 1.281 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/1.028, allocations: 1.313 MB / 1.282 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/1.03, allocations: 1.106 MB / 1.283 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/1.032, allocations: 1.106 MB / 1.284 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/1.033, allocations: 127.8 kB / 1.284 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/1.035, allocations: 0.9212 MB / 1.285 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005548/1.036, allocations: 479 kB / 1.286 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/1.037, allocations: 1.093 MB / 1.287 GB, free: 2.535 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004492/1.041, allocations: 3.467 MB / 1.29 GB, free: 1.969 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.041, allocations: 0 / 1.29 GB, free: 1.969 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/1.041, allocations: 0.875 kB / 1.29 GB, free: 1.969 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.367e-05/1.041, allocations: 0.9062 kB / 1.29 GB, free: 1.969 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.004526/1.046, allocations: 2.802 MB / 1.293 GB, free: 0.543 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.046, allocations: 11.38 kB / 1.293 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/1.046, allocations: 125.9 kB / 1.293 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/1.048, allocations: 372.4 kB / 1.293 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/1.051, allocations: 2.023 MB / 1.295 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/1.051, allocations: 58.5 kB / 1.295 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.051, allocations: 75.19 kB / 1.296 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/1.053, allocations: 0.9367 MB / 1.296 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.053, allocations: 8.438 kB / 1.296 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.329e-05/1.053, allocations: 32.81 kB / 1.296 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/1.053, allocations: 26.58 kB / 1.296 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/1.054, allocations: 0.6996 MB / 1.297 GB, free: 15.61 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.005712/1.06, allocations: 4.445 MB / 1.302 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/1.06, allocations: 310.4 kB / 1.302 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.06, allocations: 184.4 kB / 1.302 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/1.061, allocations: 94.09 kB / 1.302 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.061, allocations: 37.03 kB / 1.302 GB, free: 13.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/1.061, allocations: 0 / 1.302 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.00302/1.064, allocations: 1.716 MB / 1.304 GB, free: 12.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.064, allocations: 58.97 kB / 1.304 GB, free: 12.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/1.067, allocations: 2.948 MB / 1.307 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/1.067, allocations: 35.55 kB / 1.307 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007764/1.068, allocations: 1.057 MB / 1.308 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.068, allocations: 121.6 kB / 1.308 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.069, allocations: 110.8 kB / 1.308 GB, free: 12.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.069, allocations: 332 kB / 1.308 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/1.069, allocations: 164.3 kB / 1.308 GB, free: 11.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/1.069, allocations: 367.7 kB / 1.309 GB, free: 11.49 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.001995/1.071, allocations: 1.082 MB / 1.31 GB, free: 11.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.071, allocations: 2.156 kB / 1.31 GB, free: 11.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001247/1.073, allocations: 0.7847 MB / 1.311 GB, free: 11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.073, allocations: 14.38 kB / 1.311 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.073, allocations: 5.969 kB / 1.311 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/1.073, allocations: 70.34 kB / 1.311 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/1.073, allocations: 99.03 kB / 1.311 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/1.075, allocations: 1.868 MB / 1.313 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.076, allocations: 27.28 kB / 1.313 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/1.076, allocations: 27.28 kB / 1.313 GB, free: 9.492 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.001174/1.077, allocations: 0.7914 MB / 1.313 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/1.077, allocations: 230.8 kB / 1.314 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/1.078, allocations: 253.8 kB / 1.314 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.078, allocations: 4.312 kB / 1.314 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.078, allocations: 6.188 kB / 1.314 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006254/1.078, allocations: 0.5982 MB / 1.315 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/1.081, allocations: 2.04 MB / 1.317 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.081, allocations: 4.656 kB / 1.317 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/1.081, allocations: 62.2 kB / 1.317 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/1.082, allocations: 65.27 kB / 1.317 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/1.082, allocations: 16.59 kB / 1.317 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/1.083, allocations: 1.854 MB / 1.318 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.083, allocations: 7.219 kB / 1.318 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.084, allocations: 0.9223 MB / 1.319 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/1.085, allocations: 410.3 kB / 1.32 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/1.085, allocations: 15.75 kB / 1.32 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005958/1.086, allocations: 20.7 kB / 1.32 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/1.086, allocations: 27.33 kB / 1.32 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/1.086, allocations: 18.48 kB / 1.32 GB, free: 6.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002677/1.089, allocations: 2.084 MB / 1.322 GB, free: 6.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.089, allocations: 0 / 1.322 GB, free: 6.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001027/1.09, allocations: 299.9 kB / 1.322 GB, free: 6.145 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.001521/1.091, allocations: 1.546 MB / 1.324 GB, free: 5.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008045/1.092, allocations: 0.5341 MB / 1.324 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.092, allocations: 0.625 kB / 1.324 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/1.093, allocations: 300.7 kB / 1.325 GB, free: 4.996 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.096, allocations: 0.9573 MB / 1.325 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.116, allocations: 17.07 MB / 1.342 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.118, allocations: 1.959 MB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001144/1.119, allocations: 344.4 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008141/1.12, allocations: 0.7993 MB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of SimCode: time 1.002e-06/1.12, allocations: 0 / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08576/1.205, allocations: 51.21 MB / 1.395 GB, free: 8.543 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/13.24, allocations: 7.188 kB / 1.395 GB, free: 8.539 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