Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001145, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001308/0.001309, allocations: 187.4 kB / 17.2 MB, free: 5.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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.304/2.304, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.91 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2947, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01032/0.305, allocations: 7.337 MB / 0.9574 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009348/0.3144, allocations: 5.192 MB / 0.9625 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.3165, allocations: 43.81 kB / 0.9626 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006688/0.3232, allocations: 1.691 MB / 0.9642 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.3262, allocations: 0.5932 MB / 0.9648 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3275, allocations: 227.5 kB / 0.965 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00322/0.3307, allocations: 1.748 MB / 0.9667 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3319, allocations: 0.5736 MB / 0.9673 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3332, allocations: 0.6724 MB / 0.9679 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.3348, allocations: 0.8201 MB / 0.9687 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.3351, allocations: 80 kB / 0.9688 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008658/0.336, allocations: 199.8 kB / 0.969 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.3365, allocations: 330.5 kB / 0.9693 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.3379, allocations: 0.7921 MB / 0.9701 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.3404, allocations: 2.199 MB / 0.9722 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3405, allocations: 4 kB / 0.9722 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3405, allocations: 4 kB / 0.9722 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.472e-05/0.3405, allocations: 4 kB / 0.9722 GB, free: 2.242 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003448/0.344, allocations: 2.187 MB / 0.9744 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.344, allocations: 16.03 kB / 0.9744 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.3444, allocations: 202.3 kB / 0.9746 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.3468, allocations: 1.571 MB / 0.9761 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.3468, allocations: 32.98 kB / 0.9761 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.3469, allocations: 35.98 kB / 0.9762 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.3476, allocations: 442.3 kB / 0.9766 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3476, allocations: 7.938 kB / 0.9766 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.3477, allocations: 15.98 kB / 0.9766 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-05/0.3477, allocations: 24.98 kB / 0.9766 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006207/0.3484, allocations: 427.6 kB / 0.9771 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.3518, allocations: 2.323 MB / 0.9793 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.3528, allocations: 0.5006 MB / 0.9798 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.3531, allocations: 209.2 kB / 0.98 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3531, allocations: 4.281 kB / 0.98 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3531, allocations: 38.78 kB / 0.9801 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=34): time 2.825e-06/0.3531, allocations: 0 / 0.9801 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=34): time 0.001062/0.3542, allocations: 0.6375 MB / 0.9807 GB, free: 9.27 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3543, allocations: 55.41 kB / 0.9807 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/0.3579, allocations: 2.587 MB / 0.9833 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.3579, allocations: 29.7 kB / 0.9833 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/0.3587, allocations: 0.7682 MB / 0.984 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.3588, allocations: 110.4 kB / 0.9841 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3589, allocations: 69.59 kB / 0.9842 GB, free: 5.594 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3591, allocations: 318.5 kB / 0.9845 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3593, allocations: 135.9 kB / 0.9846 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3596, allocations: 185.4 kB / 0.9848 GB, free: 4.957 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.36, allocations: 322.4 kB / 0.9851 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.36, allocations: 0 / 0.9851 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008635/0.3609, allocations: 0.53 MB / 0.9856 GB, free: 4.102 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3609, allocations: 8 kB / 0.9857 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3609, allocations: 0 / 0.9857 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.361, allocations: 0 / 0.9857 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.3613, allocations: 79.89 kB / 0.9857 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3613, allocations: 4 kB / 0.9857 GB, free: 4.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.3618, allocations: 31.59 kB / 0.9858 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3618, allocations: 12.03 kB / 0.9858 GB, free: 3.969 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 36 * 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.0008723/0.3627, allocations: 0.6886 MB / 0.9864 GB, free: 3.27 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3629, allocations: 181.7 kB / 0.9866 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.3632, allocations: 215.2 kB / 0.9868 GB, free: 2.875 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3632, allocations: 4 kB / 0.9868 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3633, allocations: 7.984 kB / 0.9868 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3633, allocations: 4 kB / 0.9868 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.3655, allocations: 1.578 MB / 0.9884 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.3656, allocations: 4 kB / 0.9884 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3659, allocations: 75.89 kB / 0.9885 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.3659, allocations: 4 kB / 0.9885 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3659, allocations: 8 kB / 0.9885 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3659, allocations: 0 / 0.9885 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3659, allocations: 3.938 kB / 0.9885 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.3668, allocations: 0.6515 MB / 0.9891 GB, free: 448 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005572/0.3673, allocations: 370.6 kB / 0.9895 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.3675, allocations: 4 kB / 0.9895 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.3679, allocations: 8 kB / 0.9895 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.368, allocations: 27.91 kB / 0.9895 GB, free: 16 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.368, allocations: 15.88 kB / 0.9895 GB, free: 0 / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002599/0.3706, allocations: 1.851 MB / 0.9913 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.91e-07/0.3706, allocations: 0 / 0.9913 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007008/0.3713, allocations: 231.7 kB / 0.9915 GB, free: 13.91 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.0004365/0.3718, allocations: 170.5 kB / 0.9917 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006869/0.3725, allocations: 407.6 kB / 0.9921 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3725, allocations: 0 / 0.9921 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.3727, allocations: 171.8 kB / 0.9923 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.375, allocations: 0.6147 MB / 0.9929 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.3802, allocations: 3.191 MB / 0.996 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.3814, allocations: 1.619 MB / 0.9976 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.3817, allocations: 79.44 kB / 0.9976 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of SimCode: time 1.072e-06/0.3818, allocations: 0 / 0.9976 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of Templates: time 0.04221/0.424, allocations: 24.44 MB / 1.021 GB, free: 15.34 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches