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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 103.1 kB / 15.98 MB, free: 6.348 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.002127/0.002127, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 13.66 MB / 206.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.395/2.395, allocations: 437 MB / 0.7107 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 72.16 kB / 0.8694 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3661, allocations: 151.6 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003766/0.37, allocations: 1.585 MB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.3702, allocations: 27.86 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3702, allocations: 4 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.3705, allocations: 11.94 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.3705, allocations: 11.91 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3707, allocations: 15.98 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3708, allocations: 47.84 kB / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.371, allocations: 35.89 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.3711, allocations: 15.94 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.3712, allocations: 27.84 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3712, allocations: 4 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.3713, allocations: 4 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.3713, allocations: 19.98 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.3714, allocations: 27.81 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.3715, allocations: 48.14 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3716, allocations: 0 / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3716, allocations: 0 / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3716, allocations: 4 kB / 1.019 GB, free: 9.059 MB / 0.795 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.000505/0.3721, allocations: 355.4 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.3722, allocations: 8.922 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.3722, allocations: 12.78 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3725, allocations: 188.2 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3725, allocations: 4.312 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3725, allocations: 12.31 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3727, allocations: 100.8 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3728, allocations: 8.109 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.3728, allocations: 11.94 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3728, allocations: 4 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.3729, allocations: 39.97 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.3736, allocations: 0.644 MB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3738, allocations: 169.1 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.3738, allocations: 80.14 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3738, allocations: 75.28 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.422e-05/0.3739, allocations: 109.8 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/0.3739, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.843e-05/0.374, allocations: 45.48 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.3741, allocations: 134.7 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3743, allocations: 168.8 kB / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3743, allocations: 25.7 kB / 1.021 GB, free: 6.668 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.3744, allocations: 100 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.3744, allocations: 4 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3745, allocations: 17.7 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3746, allocations: 314.8 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.3746, allocations: 4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.3747, allocations: 26.56 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.3747, allocations: 30.52 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3747, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001535/0.3749, allocations: 57.53 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3749, allocations: 8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3749, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.375, allocations: 3.938 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.375, allocations: 4 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.375, allocations: 4.094 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.3751, allocations: 15.78 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3751, allocations: 4 kB / 1.022 GB, free: 6.043 MB / 0.795 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 0.0001312/0.3752, allocations: 193.1 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.3753, allocations: 112.8 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.3754, allocations: 116.8 kB / 1.022 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-05/0.3755, allocations: 180.2 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.03e-05/0.3756, allocations: 184.2 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.699e-05/0.3757, allocations: 184.3 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.376, allocations: 425.2 kB / 1.023 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/0.376, allocations: 101 kB / 1.023 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.3761, allocations: 112.9 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.225e-05/0.3762, allocations: 184.3 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.3763, allocations: 184.1 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.577e-05/0.3764, allocations: 180.2 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-05/0.3764, allocations: 184.2 kB / 1.024 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.3766, allocations: 311.7 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3767, allocations: 190 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.3768, allocations: 188.1 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3769, allocations: 105 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.377, allocations: 184.2 kB / 1.025 GB, free: 2.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.3771, allocations: 101 kB / 1.025 GB, free: 2.473 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3772, allocations: 135.2 kB / 1.025 GB, free: 2.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3772, allocations: 0 / 1.025 GB, free: 2.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002376/0.3775, allocations: 4 kB / 1.025 GB, free: 2.336 MB / 0.795 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.0001624/0.3776, allocations: 174.5 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.549e-05/0.3777, allocations: 7.938 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3777, allocations: 0 / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3777, allocations: 0 / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.3781, allocations: 473.5 kB / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.3786, allocations: 265.8 kB / 1.026 GB, free: 1.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3789, allocations: 0.7029 MB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.379, allocations: 7.438 kB / 1.027 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of SimCode: time 5.91e-07/0.379, allocations: 3.938 kB / 1.027 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of Templates: time 0.002379/0.3814, allocations: 0.8089 MB / 1.028 GB, free: 15.85 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (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 & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/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