Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001265/0.001265, allocations: 104 kB / 15.6 MB, free: 148 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.001247/0.001248, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.215 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.189/2.189, allocations: 390.3 MB / 0.6647 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 71.89 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4946, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002137/0.4967, allocations: 1.532 MB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.646e-05/0.4968, allocations: 28.7 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.4969, allocations: 1.25 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.497, allocations: 9.219 kB / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.77e-05/0.497, allocations: 11.91 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.426e-05/0.4971, allocations: 23.52 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.4972, allocations: 39.97 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4973, allocations: 35.47 kB / 0.9514 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.4973, allocations: 21.83 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.4974, allocations: 28.86 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.4974, allocations: 4.094 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.4974, allocations: 3.844 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.4975, allocations: 22.89 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.4975, allocations: 33.55 kB / 0.9515 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.605e-05/0.4976, allocations: 62.27 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.4976, allocations: 0 / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4976, allocations: 0 / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4976, allocations: 0 / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002515/0.4979, allocations: 360.1 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4979, allocations: 12.94 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.314e-05/0.498, allocations: 38.19 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.498, allocations: 12.09 kB / 0.9519 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4981, allocations: 184.9 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.4981, allocations: 6.719 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.4981, allocations: 4.781 kB / 0.9521 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.4982, allocations: 107.2 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.4983, allocations: 7.938 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.4983, allocations: 5.531 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4983, allocations: 1.406 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.059e-05/0.4984, allocations: 47 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.4987, allocations: 0.6372 MB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.4988, allocations: 166.2 kB / 0.9531 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.4988, allocations: 85.58 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.4988, allocations: 75.28 kB / 0.9532 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.4988, allocations: 109.8 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4988, allocations: 9.125 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.602e-05/0.4989, allocations: 41.47 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.4989, allocations: 126.7 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.499, allocations: 167.4 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-06/0.499, allocations: 25.7 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.4991, allocations: 105.2 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.4991, allocations: 3.984 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.4991, allocations: 17.5 kB / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.4992, allocations: 316.4 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.4992, allocations: 11.33 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.4992, allocations: 17.42 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.4992, allocations: 33.2 kB / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4992, allocations: 0 / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.242e-05/0.4993, allocations: 57.56 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.4994, allocations: 5.438 kB / 0.9542 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4994, allocations: 5.438 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.4994, allocations: 0 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.4994, allocations: 5.469 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4994, allocations: 0 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.4995, allocations: 6.875 kB / 0.9542 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.4995, allocations: 5.375 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.4995, allocations: 198.1 kB / 0.9544 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.4996, allocations: 113.2 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.4996, allocations: 116.5 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.4996, allocations: 185.4 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.4996, allocations: 179.3 kB / 0.955 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.4997, allocations: 184.2 kB / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.4998, allocations: 427.9 kB / 0.9556 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.4998, allocations: 101 kB / 0.9557 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.4998, allocations: 106.2 kB / 0.9558 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.4998, allocations: 181.6 kB / 0.9559 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4999, allocations: 189.7 kB / 0.9561 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/0.4999, allocations: 180.3 kB / 0.9563 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-05/0.4999, allocations: 185.3 kB / 0.9565 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.896e-05/0.5, allocations: 306.7 kB / 0.9568 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.5, allocations: 195.5 kB / 0.957 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.5, allocations: 190.7 kB / 0.9571 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.5001, allocations: 104.9 kB / 0.9572 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.5001, allocations: 181.7 kB / 0.9574 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.5001, allocations: 102.2 kB / 0.9575 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.5002, allocations: 133.2 kB / 0.9576 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5002, allocations: 0 / 0.9576 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002194/0.5004, allocations: 6.656 kB / 0.9576 GB, free: 1.359 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/0.5006, allocations: 0.8203 MB / 0.9584 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.5007, allocations: 14.48 kB / 0.9585 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5007, allocations: 192 / 0.9585 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5007, allocations: 4 kB / 0.9585 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.501, allocations: 459.8 kB / 0.9589 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.5022, allocations: 1.629 MB / 0.9605 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.5025, allocations: 0.6974 MB / 0.9612 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.5025, allocations: 3.406 kB / 0.9612 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.5026, allocations: 22.89 kB / 0.9612 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.5026, allocations: 4 kB / 0.9612 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.5188, allocations: 1.662 MB / 0.9628 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/7.348, allocations: 3.25 kB / 0.9628 GB, free: 12.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_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_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches