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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 152 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.001082/0.001082, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 61.14 kB / 0.9083 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2401, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1648/0.405, allocations: 179.3 MB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4743/0.8793, allocations: 10.97 MB / 1.249 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.8814, allocations: 82.62 kB / 1.25 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00477/0.8862, allocations: 1.991 MB / 1.251 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.8896, allocations: 1.624 MB / 1.253 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.8914, allocations: 0.7771 MB / 1.254 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003241/0.8946, allocations: 3.134 MB / 1.257 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.896, allocations: 1.309 MB / 1.258 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.8975, allocations: 1.1 MB / 1.259 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.8992, allocations: 1.114 MB / 1.26 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002653/0.8995, allocations: 127.9 kB / 1.26 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.9012, allocations: 0.9161 MB / 1.261 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004529/0.9016, allocations: 486.5 kB / 1.262 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.9027, allocations: 1.092 MB / 1.263 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.9057, allocations: 3.217 MB / 1.266 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9057, allocations: 0.8125 kB / 1.266 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9057, allocations: 0 / 1.266 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.9057, allocations: 0 / 1.266 GB, free: 3.758 MB / 0.9981 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.003628/0.9094, allocations: 2.747 MB / 1.269 GB, free: 18.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.9094, allocations: 9.906 kB / 1.269 GB, free: 18.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.9096, allocations: 125.2 kB / 1.269 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.9109, allocations: 372.8 kB / 1.269 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.9135, allocations: 1.895 MB / 1.271 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.9135, allocations: 62.12 kB / 1.271 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.9137, allocations: 78.22 kB / 1.271 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.915, allocations: 0.9455 MB / 1.272 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.915, allocations: 1.562 kB / 1.272 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/0.9151, allocations: 34.28 kB / 1.272 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.9152, allocations: 31.25 kB / 1.272 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.9164, allocations: 0.6946 MB / 1.273 GB, free: 17.4 MB / 1.014 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.005203/0.9216, allocations: 4.495 MB / 1.277 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.922, allocations: 311.4 kB / 1.278 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.9222, allocations: 181.3 kB / 1.278 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.9224, allocations: 96.22 kB / 1.278 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.9224, allocations: 41.66 kB / 1.278 GB, free: 15.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.9225, allocations: 4.922 kB / 1.278 GB, free: 15.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002549/0.925, allocations: 1.716 MB / 1.28 GB, free: 14.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.9251, allocations: 56.5 kB / 1.28 GB, free: 14.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.9285, allocations: 2.973 MB / 1.282 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.9285, allocations: 31.58 kB / 1.282 GB, free: 14.13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007096/0.9292, allocations: 1.061 MB / 1.284 GB, free: 13.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.9293, allocations: 111.8 kB / 1.284 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.9295, allocations: 111.4 kB / 1.284 GB, free: 13.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.9296, allocations: 328.4 kB / 1.284 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.9298, allocations: 162.1 kB / 1.284 GB, free: 13.51 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.9301, allocations: 369.6 kB / 1.285 GB, free: 13.29 MB / 1.014 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.001884/0.932, allocations: 1.08 MB / 1.286 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.932, allocations: 1.156 kB / 1.286 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00102/0.9331, allocations: 0.7991 MB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9331, allocations: 8.281 kB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.9331, allocations: 7.281 kB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.9333, allocations: 69.55 kB / 1.286 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.9336, allocations: 102.8 kB / 1.287 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.935, allocations: 1.859 MB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/0.9357, allocations: 24.08 kB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.9358, allocations: 34.86 kB / 1.288 GB, free: 11.28 MB / 1.014 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.0008162/0.9366, allocations: 0.7906 MB / 1.289 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.9369, allocations: 236.8 kB / 1.289 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.9372, allocations: 256.8 kB / 1.29 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9372, allocations: 3.438 kB / 1.29 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9372, allocations: 1 kB / 1.29 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005967/0.9378, allocations: 0.6008 MB / 1.29 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.9405, allocations: 2.059 MB / 1.292 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9405, allocations: 3.344 kB / 1.292 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.9408, allocations: 62.83 kB / 1.292 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.9409, allocations: 61.44 kB / 1.292 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.941, allocations: 9.688 kB / 1.292 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.9422, allocations: 1.869 MB / 1.294 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.9423, allocations: 10.48 kB / 1.294 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.9433, allocations: 0.915 MB / 1.295 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/0.9438, allocations: 417.1 kB / 1.296 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.944, allocations: 8.781 kB / 1.296 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.9446, allocations: 14 kB / 1.296 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.9447, allocations: 42.17 kB / 1.296 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.9447, allocations: 13.55 kB / 1.296 GB, free: 8.074 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002401/0.9471, allocations: 2.1 MB / 1.298 GB, free: 7.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9472, allocations: 1 kB / 1.298 GB, free: 7.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009498/0.9481, allocations: 306.8 kB / 1.298 GB, free: 7.926 MB / 1.014 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.001466/0.9496, allocations: 1.54 MB / 1.299 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007857/0.9504, allocations: 0.546 MB / 1.3 GB, free: 6.891 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9504, allocations: 5.016 kB / 1.3 GB, free: 6.891 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.9508, allocations: 299 kB / 1.3 GB, free: 6.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/0.9541, allocations: 0.946 MB / 1.301 GB, free: 6.641 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/0.9742, allocations: 19.61 MB / 1.32 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.9755, allocations: 1.956 MB / 1.322 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001177/0.9767, allocations: 341.1 kB / 1.323 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008071/0.9775, allocations: 0.8011 MB / 1.323 GB, free: 14.51 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.9776, allocations: 0 / 1.323 GB, free: 14.51 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/1.053, allocations: 50.68 MB / 1.373 GB, free: 15.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.462/10.51, allocations: 11.88 kB / 1.373 GB, free: 15.96 MB / 1.061 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