Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_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.004941/0.004941, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001139/0.001139, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.018 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.255, allocations: 151.6 MB / 1.166 GB, free: 7.195 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7206/0.9756, allocations: 179.3 MB / 1.341 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.9921, allocations: 10.98 MB / 1.352 GB, free: 2.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.9951, allocations: 93.75 kB / 1.352 GB, free: 2.809 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00594/1.001, allocations: 2.008 MB / 1.354 GB, free: 1.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004921/1.006, allocations: 1.66 MB / 1.356 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/1.009, allocations: 0.7955 MB / 1.357 GB, free: 392 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004904/1.014, allocations: 3.147 MB / 1.36 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/1.016, allocations: 1.322 MB / 1.361 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/1.018, allocations: 1.154 MB / 1.362 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/1.021, allocations: 1.109 MB / 1.363 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005835/1.021, allocations: 126.4 kB / 1.363 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/1.024, allocations: 0.9251 MB / 1.364 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008426/1.025, allocations: 481 kB / 1.365 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002291/1.027, allocations: 1.094 MB / 1.366 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005708/1.033, allocations: 3.475 MB / 1.369 GB, free: 10.05 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.033, allocations: 0 / 1.369 GB, free: 10.05 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.763e-06/1.033, allocations: 0 / 1.369 GB, free: 10.05 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001117/1.033, allocations: 0 / 1.369 GB, free: 10.05 MB / 1.045 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.005871/1.039, allocations: 2.889 MB / 1.372 GB, free: 7.895 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.039, allocations: 9.625 kB / 1.372 GB, free: 7.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/1.039, allocations: 131.5 kB / 1.372 GB, free: 7.785 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.041, allocations: 383.7 kB / 1.372 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/1.045, allocations: 2.04 MB / 1.374 GB, free: 6.168 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/1.045, allocations: 57.38 kB / 1.374 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/1.046, allocations: 74.25 kB / 1.374 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/1.047, allocations: 0.9425 MB / 1.375 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/1.047, allocations: 2.5 kB / 1.375 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/1.047, allocations: 39.77 kB / 1.375 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/1.047, allocations: 28.47 kB / 1.375 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/1.048, allocations: 0.6943 MB / 1.376 GB, free: 5.137 MB / 1.045 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.006454/1.055, allocations: 4.459 MB / 1.38 GB, free: 1.535 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/1.055, allocations: 313.1 kB / 1.381 GB, free: 1.363 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/1.056, allocations: 178.1 kB / 1.381 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/1.056, allocations: 101.4 kB / 1.381 GB, free: 1.168 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.056, allocations: 34.22 kB / 1.381 GB, free: 1.129 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 3.978e-06/1.056, allocations: 4 kB / 1.381 GB, free: 1.125 MB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.003399/1.059, allocations: 1.746 MB / 1.383 GB, free: 15.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.059, allocations: 53.94 kB / 1.383 GB, free: 15.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/1.064, allocations: 2.95 MB / 1.386 GB, free: 14.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/1.064, allocations: 35.98 kB / 1.386 GB, free: 14.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009468/1.065, allocations: 1.071 MB / 1.387 GB, free: 13.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/1.065, allocations: 121.8 kB / 1.387 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/1.065, allocations: 107.7 kB / 1.387 GB, free: 13.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.065, allocations: 330.3 kB / 1.387 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/1.065, allocations: 162.1 kB / 1.387 GB, free: 12.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/1.066, allocations: 369.9 kB / 1.388 GB, free: 12.44 MB / 1.061 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.002/1.068, allocations: 1.08 MB / 1.389 GB, free: 11.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.068, allocations: 10.77 kB / 1.389 GB, free: 11.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00131/1.069, allocations: 0.7961 MB / 1.39 GB, free: 11.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.069, allocations: 7.875 kB / 1.39 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.069, allocations: 15.47 kB / 1.39 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/1.069, allocations: 61.28 kB / 1.39 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/1.07, allocations: 106.3 kB / 1.39 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/1.071, allocations: 1.866 MB / 1.392 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.072, allocations: 28.22 kB / 1.392 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/1.072, allocations: 28.19 kB / 1.392 GB, free: 9.363 MB / 1.061 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.001098/1.073, allocations: 0.7987 MB / 1.393 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/1.074, allocations: 247 kB / 1.393 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005183/1.074, allocations: 256.8 kB / 1.393 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.074, allocations: 8.453 kB / 1.393 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.074, allocations: 0 / 1.393 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006349/1.075, allocations: 0.6 MB / 1.394 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/1.079, allocations: 2.043 MB / 1.396 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.079, allocations: 2.562 kB / 1.396 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/1.079, allocations: 66.12 kB / 1.396 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/1.079, allocations: 63.03 kB / 1.396 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/1.079, allocations: 11.41 kB / 1.396 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/1.081, allocations: 1.855 MB / 1.398 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.081, allocations: 4.844 kB / 1.398 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/1.082, allocations: 0.9402 MB / 1.398 GB, free: 4.133 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/1.083, allocations: 425.2 kB / 1.399 GB, free: 3.812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/1.083, allocations: 9.375 kB / 1.399 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/1.084, allocations: 21.36 kB / 1.399 GB, free: 3.797 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/1.084, allocations: 32.69 kB / 1.399 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/1.084, allocations: 16.22 kB / 1.399 GB, free: 3.773 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003207/1.087, allocations: 2.081 MB / 1.401 GB, free: 2.684 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.01e-07/1.087, allocations: 0 / 1.401 GB, free: 2.684 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001272/1.089, allocations: 307.7 kB / 1.401 GB, free: 2.66 MB / 1.061 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.09, allocations: 1.557 MB / 1.403 GB, free: 1.289 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009375/1.091, allocations: 0.5383 MB / 1.403 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.091, allocations: 0 / 1.403 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/1.092, allocations: 298.4 kB / 1.404 GB, free: 444 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/1.096, allocations: 0.9474 MB / 1.405 GB, free: 15.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.121, allocations: 17.16 MB / 1.421 GB, free: 13.93 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.123, allocations: 1.953 MB / 1.423 GB, free: 11.95 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001112/1.124, allocations: 346.8 kB / 1.424 GB, free: 11.6 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009908/1.125, allocations: 0.8 MB / 1.424 GB, free: 10.8 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.125, allocations: 0 / 1.424 GB, free: 10.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08508/1.211, allocations: 51.2 MB / 1.474 GB, free: 8.316 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.46, allocations: 20.88 kB / 1.474 GB, free: 8.301 MB / 1.139 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches