Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00186/0.00186, allocations: 121.9 kB / 16.82 MB, free: 5.754 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.002177/0.002177, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.492/1.492, allocations: 225.6 MB / 244.2 MB, free: 13.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 64.59 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003221/0.3539, allocations: 1.548 MB / 1.264 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.354, allocations: 23.92 kB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.354, allocations: 3.938 kB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3542, allocations: 11.92 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.3542, allocations: 7.922 kB / 1.264 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.3543, allocations: 23.97 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3544, allocations: 43.84 kB / 1.264 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.3547, allocations: 31.92 kB / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.3547, allocations: 19.92 kB / 1.264 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.3548, allocations: 27.91 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3548, allocations: 4 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.3548, allocations: 8 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.3548, allocations: 15.92 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.3549, allocations: 27.81 kB / 1.264 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.355, allocations: 59.73 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.355, allocations: 4 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.355, allocations: 0 / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.355, allocations: 0 / 1.264 GB, free: 11.07 MB / 0.9825 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.000489/0.3555, allocations: 367.2 kB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3556, allocations: 8.031 kB / 1.264 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.3556, allocations: 12.89 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3558, allocations: 184.2 kB / 1.264 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3559, allocations: 8.375 kB / 1.264 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3559, allocations: 4.375 kB / 1.264 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3561, allocations: 104.8 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3561, allocations: 8.125 kB / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3561, allocations: 3.938 kB / 1.265 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3561, allocations: 4 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.293e-05/0.3562, allocations: 39.97 kB / 1.265 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.357, allocations: 0.6402 MB / 1.265 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3571, allocations: 173.1 kB / 1.265 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.3572, allocations: 84.14 kB / 1.265 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3572, allocations: 75.28 kB / 1.266 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.888e-05/0.3573, allocations: 109.8 kB / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3573, allocations: 0 / 1.266 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.017e-05/0.3574, allocations: 41.53 kB / 1.266 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3574, allocations: 55.39 kB / 1.266 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3576, allocations: 166.4 kB / 1.266 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3576, allocations: 29.64 kB / 1.266 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.3577, allocations: 104 kB / 1.266 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-06/0.3577, allocations: 8 kB / 1.266 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.3578, allocations: 13.7 kB / 1.266 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3579, allocations: 318.8 kB / 1.266 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.3579, allocations: 8 kB / 1.266 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.358, allocations: 22.56 kB / 1.266 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.358, allocations: 30.52 kB / 1.266 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.358, allocations: 0 / 1.266 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001517/0.3582, allocations: 57.58 kB / 1.266 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3582, allocations: 5.406 kB / 1.266 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3582, allocations: 4 kB / 1.266 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3582, allocations: 3.938 kB / 1.266 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.831e-05/0.3583, allocations: 7.938 kB / 1.266 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3583, allocations: 0 / 1.266 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.3583, allocations: 12.05 kB / 1.266 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3583, allocations: 0 / 1.266 GB, free: 8.125 MB / 0.9825 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.0001677/0.3585, allocations: 197.9 kB / 1.267 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.3586, allocations: 112.9 kB / 1.267 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.3587, allocations: 112.9 kB / 1.267 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.766e-05/0.3588, allocations: 181.3 kB / 1.267 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.263e-05/0.3589, allocations: 112.9 kB / 1.267 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.359, allocations: 190.1 kB / 1.267 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.3591, allocations: 180.2 kB / 1.268 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3593, allocations: 113 kB / 1.268 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.3595, allocations: 176.3 kB / 1.268 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001267/0.3596, allocations: 259.5 kB / 1.268 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003617/0.36, allocations: 391.1 kB / 1.268 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001702/0.3602, allocations: 113 kB / 1.269 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001203/0.3603, allocations: 125.7 kB / 1.269 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of Backend: time 5.71e-07/0.3603, allocations: 0 / 1.269 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.3608, allocations: 94.34 kB / 1.269 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0008716/0.3617, allocations: 0.9023 MB / 1.27 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of Templates: time 0.002981/0.3646, allocations: 0.4966 MB / 1.27 GB, free: 4.242 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches