Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_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.00128/0.00128, 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.001285/0.001285, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.494/2.494, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5362/0.5375, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00261/0.5402, allocations: 1.532 MB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.5403, allocations: 31.84 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.5404, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.5405, allocations: 19.86 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.987e-05/0.5405, allocations: 3.938 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.278e-05/0.5406, allocations: 23.97 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.968e-05/0.5407, allocations: 43.86 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.5409, allocations: 31.97 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.5409, allocations: 15.94 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.541, allocations: 31.84 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.541, allocations: 4 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.541, allocations: 4 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.541, allocations: 31.91 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.5411, allocations: 27.81 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.693e-05/0.5412, allocations: 50.06 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5412, allocations: 8 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5412, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5412, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 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.0003097/0.5415, allocations: 363.3 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.5416, allocations: 8.031 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.5416, allocations: 42.73 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.5416, allocations: 12.78 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.5418, allocations: 188.2 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.5418, allocations: 384 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.5418, allocations: 20.31 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.542, allocations: 96.73 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.542, allocations: 11.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.542, allocations: 8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.542, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.5421, allocations: 39.92 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.5426, allocations: 0.644 MB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.375e-05/0.5427, allocations: 165.1 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.5427, allocations: 80.14 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.5427, allocations: 75.28 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.5428, allocations: 117.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.5428, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.593e-05/0.5428, allocations: 37.55 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.5429, allocations: 130.7 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.543, allocations: 167.4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.543, allocations: 25.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.5431, allocations: 104 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-06/0.5431, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.5431, allocations: 21.72 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.5432, allocations: 318.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.5433, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.5433, allocations: 22.58 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.5433, allocations: 34.5 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5433, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001048/0.5434, allocations: 53.55 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5435, allocations: 6.188 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.5435, allocations: 3.938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5435, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.5435, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5435, allocations: 3.984 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.5436, allocations: 11.84 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.5436, allocations: 96 / 1.022 GB, free: 13.56 MB / 0.7794 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 7.603e-05/0.5437, allocations: 193.1 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.5437, allocations: 108.9 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.5438, allocations: 120.8 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.523e-05/0.5438, allocations: 180.2 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-05/0.5439, allocations: 184.2 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.413e-05/0.5439, allocations: 184.2 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.5441, allocations: 421.2 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/0.5442, allocations: 112.9 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.5442, allocations: 101 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-05/0.5443, allocations: 188.3 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.5443, allocations: 188.1 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.203e-05/0.5444, allocations: 180.3 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-05/0.5444, allocations: 180.2 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.5445, allocations: 307.7 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.5446, allocations: 190.3 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.5446, allocations: 184.2 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.5447, allocations: 112.9 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.5448, allocations: 184.3 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.5448, allocations: 101 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.278e-05/0.5449, allocations: 125.5 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5449, allocations: 0 / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000219/0.5451, allocations: 8 kB / 1.025 GB, free: 9.863 MB / 0.7794 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.0003123/0.5454, allocations: 0.8202 MB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.5455, allocations: 15.94 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5455, allocations: 192 / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5455, allocations: 4 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.5458, allocations: 459.7 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.547, allocations: 1.637 MB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.5472, allocations: 0.6885 MB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.5472, allocations: 7.984 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.5473, allocations: 19.44 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of SimCode: time 1.423e-06/0.5473, allocations: 4 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.5624, allocations: 1.675 MB / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/7.386, allocations: 0 / 1.031 GB, free: 4.484 MB / 0.7794 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches