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.001138/0.001138, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 192.4 kB / 16.25 MB, free: 6.152 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.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.051/2.051, allocations: 390.2 MB / 0.6643 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 71.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5194, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006461/0.5259, allocations: 7.289 MB / 0.9562 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005897/0.5318, allocations: 5.109 MB / 0.9612 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.533, allocations: 35.47 kB / 0.9612 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.5369, allocations: 1.606 MB / 0.9628 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.5383, allocations: 0.5234 MB / 0.9633 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.5389, allocations: 210.2 kB / 0.9635 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.5406, allocations: 1.767 MB / 0.9652 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.5413, allocations: 0.5879 MB / 0.9658 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000781/0.542, allocations: 0.6916 MB / 0.9665 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008203/0.5429, allocations: 0.8211 MB / 0.9673 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.543, allocations: 82.78 kB / 0.9674 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.5434, allocations: 202 kB / 0.9676 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.5437, allocations: 340.9 kB / 0.9679 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006319/0.5444, allocations: 0.7906 MB / 0.9687 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.5462, allocations: 2.186 MB / 0.9708 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5462, allocations: 3.938 kB / 0.9708 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5462, allocations: 1.094 kB / 0.9708 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.5462, allocations: 0 / 0.9708 GB, free: 9.195 MB / 0.7325 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.002594/0.5488, allocations: 2.205 MB / 0.973 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5488, allocations: 9.406 kB / 0.973 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.5491, allocations: 203.4 kB / 0.9732 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.5511, allocations: 1.573 MB / 0.9747 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.5512, allocations: 35.3 kB / 0.9747 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.5512, allocations: 32.69 kB / 0.9748 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.5519, allocations: 444 kB / 0.9752 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5519, allocations: 1.656 kB / 0.9752 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.5519, allocations: 18.14 kB / 0.9752 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.552, allocations: 21.2 kB / 0.9752 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.5526, allocations: 424.3 kB / 0.9756 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.5552, allocations: 2.337 MB / 0.9779 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/0.5561, allocations: 0.4941 MB / 0.9784 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.5563, allocations: 206.5 kB / 0.9786 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.5564, allocations: 4.281 kB / 0.9786 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5564, allocations: 42.84 kB / 0.9786 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.293e-06/0.5564, allocations: 0 / 0.9786 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0008581/0.5573, allocations: 0.6383 MB / 0.9793 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.5573, allocations: 59.34 kB / 0.9793 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.56, allocations: 2.575 MB / 0.9818 GB, free: 52 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.5601, allocations: 33.7 kB / 0.9819 GB, free: 12 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/0.5607, allocations: 0.7567 MB / 0.9826 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.5608, allocations: 118.3 kB / 0.9827 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.5609, allocations: 73.59 kB / 0.9828 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.561, allocations: 322.5 kB / 0.9831 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.5612, allocations: 139.9 kB / 0.9832 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.5614, allocations: 173.5 kB / 0.9834 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.5618, allocations: 326.4 kB / 0.9837 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5619, allocations: 0 / 0.9837 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006257/0.5625, allocations: 0.53 MB / 0.9842 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5625, allocations: 7.984 kB / 0.9842 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5625, allocations: 4.031 kB / 0.9842 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5625, allocations: 4 kB / 0.9842 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.5628, allocations: 79.89 kB / 0.9843 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5629, allocations: 0 / 0.9843 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.5633, allocations: 27.69 kB / 0.9843 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.5633, allocations: 16 kB / 0.9844 GB, free: 13.43 MB / 0.7481 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.0006607/0.5639, allocations: 0.6847 MB / 0.985 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.5641, allocations: 189.6 kB / 0.9852 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.5644, allocations: 219.2 kB / 0.9854 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5644, allocations: 4 kB / 0.9854 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5644, allocations: 0 / 0.9854 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5644, allocations: 3.984 kB / 0.9854 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.5662, allocations: 1.574 MB / 0.987 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5662, allocations: 3.938 kB / 0.987 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.5665, allocations: 83.98 kB / 0.987 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5665, allocations: 4 kB / 0.987 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5666, allocations: 7.984 kB / 0.9871 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5666, allocations: 4 kB / 0.9871 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5666, allocations: 3.938 kB / 0.9871 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.5672, allocations: 0.647 MB / 0.9877 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/0.5676, allocations: 374.5 kB / 0.988 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5678, allocations: 8 kB / 0.9881 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.5682, allocations: 8 kB / 0.9881 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.5682, allocations: 23.91 kB / 0.9881 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.5682, allocations: 8 kB / 0.9881 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002011/0.5703, allocations: 1.851 MB / 0.9899 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5703, allocations: 0 / 0.9899 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005755/0.5709, allocations: 231.8 kB / 0.9901 GB, free: 7.363 MB / 0.7481 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.0003316/0.5712, allocations: 172.4 kB / 0.9903 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.5718, allocations: 399.6 kB / 0.9907 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.5718, allocations: 4 kB / 0.9907 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.572, allocations: 175.9 kB / 0.9908 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.574, allocations: 0.6358 MB / 0.9915 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.5782, allocations: 3.797 MB / 0.9952 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.5793, allocations: 1.754 MB / 0.9969 GB, free: 380 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007471/0.5801, allocations: 348.8 kB / 0.9972 GB, free: 24 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.5803, allocations: 95.48 kB / 0.9973 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of SimCode: time 6.12e-07/0.5803, allocations: 4 kB / 0.9973 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of Templates: time 0.03419/0.6145, allocations: 22.17 MB / 1.019 GB, free: 10.1 MB / 0.7794 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/jenkins/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