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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001256/0.001256, allocations: 104 kB / 16.35 MB, free: 5.824 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.001146/0.001147, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.986/1.986, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 61.11 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2306, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007489/0.2381, allocations: 7.332 MB / 0.9583 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006329/0.2445, allocations: 5.2 MB / 0.9634 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007107/0.2452, allocations: 47.75 kB / 0.9634 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003363/0.2486, allocations: 1.694 MB / 0.9651 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.2497, allocations: 0.5933 MB / 0.9656 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.2503, allocations: 240 kB / 0.9659 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.2519, allocations: 1.76 MB / 0.9676 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005975/0.2525, allocations: 0.5814 MB / 0.9681 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.2531, allocations: 0.6763 MB / 0.9688 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007815/0.2539, allocations: 0.8006 MB / 0.9696 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.254, allocations: 84 kB / 0.9697 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003873/0.2544, allocations: 203.8 kB / 0.9699 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.2547, allocations: 326.5 kB / 0.9702 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.2553, allocations: 0.7882 MB / 0.9709 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.257, allocations: 2.207 MB / 0.9731 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.257, allocations: 0 / 0.9731 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.373e-06/0.257, allocations: 0 / 0.9731 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.257, allocations: 0 / 0.9731 GB, free: 1.41 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.002639/0.2597, allocations: 2.194 MB / 0.9752 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2597, allocations: 8.031 kB / 0.9753 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.2599, allocations: 198.4 kB / 0.9754 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.2623, allocations: 1.673 MB / 0.9771 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.2624, allocations: 25 kB / 0.9771 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.2624, allocations: 43.92 kB / 0.9771 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.263, allocations: 442.3 kB / 0.9776 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2631, allocations: 4 kB / 0.9776 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.2631, allocations: 8 kB / 0.9776 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.2631, allocations: 24.98 kB / 0.9776 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.2637, allocations: 427.7 kB / 0.978 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.2665, allocations: 2.296 MB / 0.9802 GB, free: 9.797 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.2673, allocations: 0.5045 MB / 0.9807 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.2676, allocations: 201.3 kB / 0.9809 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2676, allocations: 288 / 0.9809 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2677, allocations: 42.78 kB / 0.981 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.2677, allocations: 4 kB / 0.981 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of matching and sorting (n=34): time 0.0008683/0.2685, allocations: 0.6375 MB / 0.9816 GB, free: 8.383 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2686, allocations: 55.41 kB / 0.9817 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.2716, allocations: 2.556 MB / 0.9841 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.2717, allocations: 37.64 kB / 0.9842 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/0.2724, allocations: 0.7682 MB / 0.9849 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.2725, allocations: 110.4 kB / 0.985 GB, free: 4.805 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.2726, allocations: 69.55 kB / 0.9851 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2727, allocations: 322.5 kB / 0.9854 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.2729, allocations: 135.9 kB / 0.9855 GB, free: 4.277 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2731, allocations: 181.4 kB / 0.9857 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.2735, allocations: 326.4 kB / 0.986 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2735, allocations: 0 / 0.986 GB, free: 3.773 MB / 0.7637 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006268/0.2742, allocations: 0.5261 MB / 0.9865 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2742, allocations: 4 kB / 0.9865 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2742, allocations: 0 / 0.9865 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2742, allocations: 7.938 kB / 0.9866 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.2745, allocations: 79.98 kB / 0.9866 GB, free: 3.148 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2746, allocations: 0 / 0.9866 GB, free: 3.148 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.2749, allocations: 39.58 kB / 0.9867 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.275, allocations: 11.94 kB / 0.9867 GB, free: 3.098 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.0007274/0.2757, allocations: 0.6848 MB / 0.9873 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.2759, allocations: 185.7 kB / 0.9875 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.2762, allocations: 211.2 kB / 0.9877 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2762, allocations: 4 kB / 0.9877 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2762, allocations: 7.938 kB / 0.9877 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2762, allocations: 3.984 kB / 0.9877 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.2781, allocations: 1.566 MB / 0.9893 GB, free: 364 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2781, allocations: 0 / 0.9893 GB, free: 364 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.2784, allocations: 79.88 kB / 0.9893 GB, free: 284 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2784, allocations: 4 kB / 0.9894 GB, free: 280 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2784, allocations: 8.094 kB / 0.9894 GB, free: 272 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.2784, allocations: 11.98 kB / 0.9894 GB, free: 260 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2784, allocations: 3.938 kB / 0.9894 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.2791, allocations: 0.6358 MB / 0.99 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/0.2797, allocations: 374.5 kB / 0.9904 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.2798, allocations: 11.98 kB / 0.9904 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.2802, allocations: 8 kB / 0.9904 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2802, allocations: 27.91 kB / 0.9904 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2802, allocations: 4 kB / 0.9904 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002137/0.2824, allocations: 1.835 MB / 0.9922 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2824, allocations: 0 / 0.9922 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006056/0.283, allocations: 231.7 kB / 0.9924 GB, free: 13.07 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.0003986/0.2834, allocations: 168.1 kB / 0.9926 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005038/0.2839, allocations: 331.6 kB / 0.9929 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2839, allocations: 0 / 0.9929 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.2841, allocations: 175.8 kB / 0.9931 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.2861, allocations: 0.6216 MB / 0.9937 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.29, allocations: 3.348 MB / 0.9969 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.2912, allocations: 1.75 MB / 0.9986 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006019/0.2918, allocations: 311.3 kB / 0.9989 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.2919, allocations: 87.38 kB / 0.999 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of SimCode: time 5.81e-07/0.292, allocations: 4 kB / 0.999 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of Templates: time 0.0318/0.3238, allocations: 21.72 MB / 1.02 GB, free: 0.8594 MB / 0.795 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 -s cvode -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