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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 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.00113/0.00113, allocations: 192.7 kB / 16.53 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.424/2.424, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4956, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1642/0.6598, allocations: 179.3 MB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.6743, allocations: 10.98 MB / 1.203 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.6765, allocations: 79.56 kB / 1.203 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004873/0.6814, allocations: 2.001 MB / 1.205 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00416/0.6856, allocations: 1.616 MB / 1.207 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.6878, allocations: 0.7811 MB / 1.208 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003955/0.6918, allocations: 3.121 MB / 1.211 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.6935, allocations: 1.316 MB / 1.212 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.6951, allocations: 1.096 MB / 1.213 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.6971, allocations: 1.124 MB / 1.214 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.6974, allocations: 128 kB / 1.214 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.6991, allocations: 0.916 MB / 1.215 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.6995, allocations: 478 kB / 1.216 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.7005, allocations: 1.099 MB / 1.217 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.7035, allocations: 3.216 MB / 1.22 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7035, allocations: 0 / 1.22 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7035, allocations: 0 / 1.22 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.426e-05/0.7036, allocations: 3.984 kB / 1.22 GB, free: 2.477 MB / 0.9669 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.00328/0.7068, allocations: 2.743 MB / 1.222 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.7069, allocations: 8.031 kB / 1.222 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.707, allocations: 130.6 kB / 1.223 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7083, allocations: 380.5 kB / 1.223 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.7108, allocations: 1.884 MB / 1.225 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.7108, allocations: 58 kB / 1.225 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.7109, allocations: 76 kB / 1.225 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.7122, allocations: 0.9445 MB / 1.226 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.7123, allocations: 3.906 kB / 1.226 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.7123, allocations: 32 kB / 1.226 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.7124, allocations: 28.94 kB / 1.226 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.7134, allocations: 0.7064 MB / 1.227 GB, free: 11.31 MB / 0.9825 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.004898/0.7183, allocations: 4.491 MB / 1.231 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.7188, allocations: 314.6 kB / 1.231 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.719, allocations: 177.5 kB / 1.231 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.7192, allocations: 101 kB / 1.232 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.7192, allocations: 42.5 kB / 1.232 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.7192, allocations: 0 / 1.232 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.002604/0.7218, allocations: 1.709 MB / 1.233 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.7219, allocations: 55.41 kB / 1.233 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.7252, allocations: 2.973 MB / 1.236 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.7252, allocations: 29.7 kB / 1.236 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/0.7261, allocations: 1.054 MB / 1.237 GB, free: 8 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.7262, allocations: 118.5 kB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.7264, allocations: 106.1 kB / 1.237 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7265, allocations: 326 kB / 1.238 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.7267, allocations: 169 kB / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.7271, allocations: 362.9 kB / 1.238 GB, free: 14.84 MB / 0.9981 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.001997/0.7291, allocations: 1.092 MB / 1.239 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7291, allocations: 4 kB / 1.239 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001052/0.7302, allocations: 0.7888 MB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7302, allocations: 8 kB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7302, allocations: 11.94 kB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001909/0.7304, allocations: 61.34 kB / 1.24 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.7308, allocations: 115.7 kB / 1.24 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.7322, allocations: 1.857 MB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.7329, allocations: 36.33 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.733, allocations: 24 kB / 1.242 GB, free: 10.6 MB / 0.9981 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.0008436/0.7338, allocations: 0.7978 MB / 1.243 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.7341, allocations: 237.1 kB / 1.243 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.7344, allocations: 251.7 kB / 1.243 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7344, allocations: 4 kB / 1.243 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7344, allocations: 0 / 1.243 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006333/0.735, allocations: 0.6089 MB / 1.244 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.7376, allocations: 2.056 MB / 1.246 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7376, allocations: 0 / 1.246 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.7379, allocations: 63.91 kB / 1.246 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.738, allocations: 60.77 kB / 1.246 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.7381, allocations: 8 kB / 1.246 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.7394, allocations: 1.857 MB / 1.248 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7395, allocations: 8.062 kB / 1.248 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.7405, allocations: 0.9256 MB / 1.249 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.741, allocations: 422 kB / 1.249 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.7412, allocations: 12 kB / 1.249 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.7418, allocations: 8 kB / 1.249 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.7419, allocations: 39.88 kB / 1.249 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.7419, allocations: 15.98 kB / 1.249 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002474/0.7444, allocations: 2.103 MB / 1.251 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7444, allocations: 4 kB / 1.251 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008727/0.7453, allocations: 304 kB / 1.252 GB, free: 432 kB / 0.9981 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.39/1.135, allocations: 1.531 MB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009947/1.136, allocations: 0.5517 MB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.136, allocations: 1.438 kB / 1.254 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/1.137, allocations: 297.7 kB / 1.254 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/1.141, allocations: 0.9368 MB / 1.255 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/1.167, allocations: 19.61 MB / 1.274 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/1.169, allocations: 1.953 MB / 1.276 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001324/1.17, allocations: 335.9 kB / 1.276 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/1.171, allocations: 0.796 MB / 1.277 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/1.171, allocations: 0 / 1.277 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07187/1.243, allocations: 50.72 MB / 1.327 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.529/10.77, allocations: 8.703 kB / 1.327 GB, free: 173.7 MB / 0.9981 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