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.001491/0.001491, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00136/0.001361, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.378/2.378, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 71.88 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.5362, allocations: 151.6 MB / 1.017 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002902/0.5392, allocations: 1.597 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.732e-05/0.5393, allocations: 27.86 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.5393, allocations: 4 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.5395, allocations: 3.938 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.5395, allocations: 11.91 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.62e-05/0.5396, allocations: 19.98 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.799e-05/0.5397, allocations: 47.84 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.5398, allocations: 35.97 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.5399, allocations: 23.86 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.5399, allocations: 23.86 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.54, allocations: 8 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.54, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.54, allocations: 19.97 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.5401, allocations: 35.8 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.5402, allocations: 49.94 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5402, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5402, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.5402, allocations: 0 / 1.019 GB, free: 0.9531 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.0003951/0.5406, allocations: 363.3 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.5406, allocations: 8.031 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.5407, allocations: 8.844 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.5409, allocations: 188.1 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5409, allocations: 12.38 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.5409, allocations: 8.312 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5411, allocations: 99.2 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5411, allocations: 192 / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5411, allocations: 3.938 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5411, allocations: 8 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.5412, allocations: 43.91 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.5418, allocations: 0.644 MB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.5419, allocations: 173.1 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.542, allocations: 88.17 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.542, allocations: 75.28 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.5421, allocations: 109.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.5421, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.265e-05/0.5421, allocations: 33.64 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.5422, allocations: 130.6 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.5424, allocations: 180.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.5424, allocations: 29.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.646e-05/0.5425, allocations: 104 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.5425, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.5425, allocations: 13.72 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5427, allocations: 322.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.5427, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.5427, allocations: 22.58 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.5428, allocations: 26.52 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5428, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001117/0.5429, allocations: 61.53 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5429, allocations: 8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5429, allocations: 4.094 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5429, allocations: 7.875 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.837e-05/0.543, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.543, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.5431, allocations: 7.906 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.5431, allocations: 4 kB / 1.021 GB, free: 13.93 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 0.000114/0.5432, allocations: 193.1 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.5433, allocations: 112.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.5433, allocations: 120.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.151e-05/0.5434, allocations: 176.3 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.018e-05/0.5435, allocations: 188.1 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.572e-05/0.5436, allocations: 176.3 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.5438, allocations: 429.1 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/0.5439, allocations: 105 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.5439, allocations: 101 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-05/0.544, allocations: 184.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.5441, allocations: 180.3 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.902e-05/0.5442, allocations: 188.2 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-05/0.5443, allocations: 180.5 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.5444, allocations: 319.7 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.5445, allocations: 190.1 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.5446, allocations: 184.1 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.5447, allocations: 105 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.5448, allocations: 184.2 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.5449, allocations: 109 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001075/0.545, allocations: 125.5 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002308/0.5452, allocations: 8 kB / 1.025 GB, free: 10.23 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.0001355/0.5454, allocations: 171.1 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.5454, allocations: 20 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5454, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5454, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.5458, allocations: 465.2 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.5462, allocations: 241.5 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.5465, allocations: 0.6963 MB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.667e-05/0.5465, allocations: 4 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.5465, allocations: 11.44 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5465, allocations: 0 / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of Templates: time 0.002371/0.5489, allocations: 432.4 kB / 1.027 GB, free: 8.156 MB / 0.7794 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=400 -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/jenkins/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