Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001104/0.001105, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00101/0.00101, allocations: 191 kB / 17.29 MB, free: 5.516 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.383/2.383, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 61.36 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2613, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008012/0.2694, allocations: 7.34 MB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006654/0.2761, allocations: 5.196 MB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.2769, allocations: 51.69 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.2806, allocations: 1.679 MB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2818, allocations: 0.601 MB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.2825, allocations: 235 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001903/0.2844, allocations: 1.755 MB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.2851, allocations: 0.5814 MB / 1.036 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006628/0.2857, allocations: 0.6801 MB / 1.036 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008621/0.2866, allocations: 0.8045 MB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.2867, allocations: 80 kB / 1.037 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.2872, allocations: 207.8 kB / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003006/0.2875, allocations: 326.6 kB / 1.038 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006768/0.2882, allocations: 0.7882 MB / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.29, allocations: 2.207 MB / 1.041 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.29, allocations: 0 / 1.041 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.29, allocations: 0 / 1.041 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.29, allocations: 0 / 1.041 GB, free: 3.23 MB / 0.8106 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.002828/0.2929, allocations: 2.198 MB / 1.043 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2929, allocations: 12.92 kB / 1.043 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.2931, allocations: 198.4 kB / 1.043 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/0.2956, allocations: 1.669 MB / 1.045 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2956, allocations: 25 kB / 1.045 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.2957, allocations: 39.94 kB / 1.045 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.2963, allocations: 450.3 kB / 1.045 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2964, allocations: 0 / 1.045 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.2964, allocations: 12 kB / 1.045 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.2964, allocations: 20.98 kB / 1.045 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006016/0.2971, allocations: 435.6 kB / 1.046 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.3, allocations: 2.292 MB / 1.048 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.301, allocations: 0.5005 MB / 1.048 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.3012, allocations: 203.4 kB / 1.049 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3013, allocations: 4.281 kB / 1.049 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.3013, allocations: 34.84 kB / 1.049 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.452e-06/0.3013, allocations: 0 / 1.049 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0008848/0.3022, allocations: 0.6536 MB / 1.049 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.3022, allocations: 55.41 kB / 1.049 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.3052, allocations: 2.556 MB / 1.052 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3052, allocations: 29.7 kB / 1.052 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/0.3059, allocations: 0.7643 MB / 1.053 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.306, allocations: 122.3 kB / 1.053 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3061, allocations: 65.61 kB / 1.053 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.3062, allocations: 318.5 kB / 1.053 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.3064, allocations: 135.9 kB / 1.053 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.3066, allocations: 182.8 kB / 1.053 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.3071, allocations: 329.5 kB / 1.054 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3071, allocations: 0 / 1.054 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006572/0.3077, allocations: 0.5264 MB / 1.054 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3077, allocations: 4 kB / 1.054 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3078, allocations: 0 / 1.054 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3078, allocations: 0 / 1.054 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.3081, allocations: 79.89 kB / 1.054 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3081, allocations: 8.031 kB / 1.054 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3085, allocations: 31.59 kB / 1.054 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.3085, allocations: 4 kB / 1.054 GB, free: 4.918 MB / 0.8262 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.0006734/0.3092, allocations: 0.6964 MB / 1.055 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3094, allocations: 181.7 kB / 1.055 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.3097, allocations: 215.2 kB / 1.055 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.3097, allocations: 4 kB / 1.055 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3097, allocations: 7.938 kB / 1.055 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3097, allocations: 4 kB / 1.055 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.3117, allocations: 1.57 MB / 1.057 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3117, allocations: 0 / 1.057 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.312, allocations: 75.89 kB / 1.057 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.312, allocations: 0 / 1.057 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.312, allocations: 12 kB / 1.057 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.312, allocations: 0 / 1.057 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.312, allocations: 12.03 kB / 1.057 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.3127, allocations: 0.628 MB / 1.058 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.3133, allocations: 366.6 kB / 1.058 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.3135, allocations: 8 kB / 1.058 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.3139, allocations: 15.98 kB / 1.058 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3139, allocations: 23.86 kB / 1.058 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3139, allocations: 11.98 kB / 1.058 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002167/0.3161, allocations: 1.827 MB / 1.06 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3161, allocations: 4 kB / 1.06 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005761/0.3167, allocations: 231.7 kB / 1.06 GB, free: 14.89 MB / 0.8419 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.0003644/0.3171, allocations: 174.9 kB / 1.06 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.3176, allocations: 337.1 kB / 1.061 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3176, allocations: 4 kB / 1.061 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.3178, allocations: 172.3 kB / 1.061 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.3199, allocations: 0.6154 MB / 1.061 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.3242, allocations: 3.354 MB / 1.065 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.3254, allocations: 1.754 MB / 1.066 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000725/0.3262, allocations: 311.3 kB / 1.067 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3263, allocations: 79.44 kB / 1.067 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of SimCode: time 2.154e-06/0.3264, allocations: 0 / 1.067 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of Templates: time 0.4321/0.7584, allocations: 21.72 MB / 1.088 GB, free: 56.26 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches