Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.0011/0.0011, allocations: 103.4 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.00103/0.00103, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.19/1.19, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.432/2.432, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 69.7 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2462, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007653/0.2539, allocations: 7.285 MB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006082/0.26, allocations: 5.126 MB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009678/0.261, allocations: 35.81 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003906/0.2649, allocations: 1.594 MB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.2663, allocations: 0.5239 MB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.2669, allocations: 206.5 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.2688, allocations: 1.776 MB / 1.084 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.2694, allocations: 0.5775 MB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.2702, allocations: 0.6918 MB / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009258/0.2711, allocations: 0.824 MB / 1.086 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.2713, allocations: 84 kB / 1.086 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.2718, allocations: 199.8 kB / 1.086 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.2721, allocations: 334.6 kB / 1.087 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.2728, allocations: 0.7921 MB / 1.087 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.2746, allocations: 2.195 MB / 1.089 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2746, allocations: 4 kB / 1.089 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2746, allocations: 0 / 1.089 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.055e-05/0.2746, allocations: 0 / 1.089 GB, free: 4.395 MB / 0.8419 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.002817/0.2775, allocations: 2.206 MB / 1.092 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2775, allocations: 8.031 kB / 1.092 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2778, allocations: 206.3 kB / 1.092 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.2798, allocations: 1.567 MB / 1.093 GB, free: 280 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.2798, allocations: 32.98 kB / 1.093 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.2799, allocations: 32 kB / 1.093 GB, free: 216 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.2805, allocations: 442.3 kB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2806, allocations: 0 / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.2806, allocations: 19.98 kB / 1.094 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.2806, allocations: 28.97 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.2812, allocations: 431.6 kB / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.2839, allocations: 2.331 MB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.2848, allocations: 0.5083 MB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.2851, allocations: 199.4 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.2851, allocations: 4.281 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.2851, allocations: 38.84 kB / 1.097 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 1.353e-06/0.2851, allocations: 3.938 kB / 1.097 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0008596/0.286, allocations: 0.6337 MB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.286, allocations: 59.34 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.2891, allocations: 2.579 MB / 1.1 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2891, allocations: 33.7 kB / 1.101 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.2897, allocations: 0.7682 MB / 1.101 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.2898, allocations: 114.3 kB / 1.101 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.2899, allocations: 69.59 kB / 1.101 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.29, allocations: 318.5 kB / 1.102 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.2902, allocations: 139.9 kB / 1.102 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2905, allocations: 181.4 kB / 1.102 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.2909, allocations: 326.2 kB / 1.102 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2909, allocations: 0 / 1.102 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006616/0.2915, allocations: 0.5301 MB / 1.103 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2915, allocations: 4 kB / 1.103 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2916, allocations: 4 kB / 1.103 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2916, allocations: 0 / 1.103 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2919, allocations: 75.95 kB / 1.103 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2919, allocations: 3.938 kB / 1.103 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.2922, allocations: 31.72 kB / 1.103 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.2923, allocations: 12 kB / 1.103 GB, free: 6.109 MB / 0.8575 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.0006612/0.2929, allocations: 0.6809 MB / 1.104 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.2931, allocations: 193.5 kB / 1.104 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.2934, allocations: 219.2 kB / 1.104 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2934, allocations: 4 kB / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2934, allocations: 0 / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2934, allocations: 0 / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.2952, allocations: 1.574 MB / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2952, allocations: 0 / 1.106 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.2955, allocations: 79.89 kB / 1.106 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2955, allocations: 7.938 kB / 1.106 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2955, allocations: 4 kB / 1.106 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2955, allocations: 4 kB / 1.106 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2955, allocations: 7.922 kB / 1.106 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.2962, allocations: 0.644 MB / 1.106 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.2966, allocations: 374.5 kB / 1.107 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.2968, allocations: 8 kB / 1.107 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.2972, allocations: 8 kB / 1.107 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2972, allocations: 31.91 kB / 1.107 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.2972, allocations: 4 kB / 1.107 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00207/0.2993, allocations: 1.851 MB / 1.109 GB, free: 292 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2993, allocations: 0 / 1.109 GB, free: 292 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000528/0.2999, allocations: 235.7 kB / 1.109 GB, free: 56 kB / 0.8575 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.0003408/0.3002, allocations: 162.2 kB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005849/0.3008, allocations: 399.9 kB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3008, allocations: 0 / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.301, allocations: 175.7 kB / 1.109 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.3031, allocations: 0.6283 MB / 1.11 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.3075, allocations: 3.809 MB / 1.114 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.309, allocations: 1.762 MB / 1.116 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008191/0.3098, allocations: 348.9 kB / 1.116 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.31, allocations: 91.44 kB / 1.116 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.31, allocations: 0 / 1.116 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of Templates: time 0.03348/0.3435, allocations: 22.17 MB / 1.138 GB, free: 2.773 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches