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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004997/0.004997, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001204/0.001204, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.271/2.271, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 59.91 kB / 1.019 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2408, allocations: 151.6 MB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007229/0.248, allocations: 7.336 MB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005861/0.2539, allocations: 5.196 MB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.2545, allocations: 47.75 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003362/0.2579, allocations: 1.699 MB / 1.181 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.2589, allocations: 0.5894 MB / 1.181 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.2595, allocations: 233.8 kB / 1.181 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.2611, allocations: 1.758 MB / 1.183 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005953/0.2617, allocations: 0.5775 MB / 1.184 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.2623, allocations: 0.6763 MB / 1.184 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007846/0.2631, allocations: 0.8046 MB / 1.185 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.2633, allocations: 80 kB / 1.185 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.2637, allocations: 199.8 kB / 1.185 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.264, allocations: 330.5 kB / 1.186 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.2646, allocations: 0.7843 MB / 1.187 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.2665, allocations: 2.447 MB / 1.189 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2665, allocations: 0 / 1.189 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2666, allocations: 7.984 kB / 1.189 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.2666, allocations: 0 / 1.189 GB, free: 15.81 MB / 0.9512 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.002592/0.2692, allocations: 2.311 MB / 1.191 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2692, allocations: 16.03 kB / 1.191 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.2694, allocations: 215.5 kB / 1.191 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.2715, allocations: 1.687 MB / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.2715, allocations: 25 kB / 1.193 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.2716, allocations: 39.98 kB / 1.193 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.2722, allocations: 454.2 kB / 1.194 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2723, allocations: 0 / 1.194 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.2723, allocations: 16 kB / 1.194 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.2723, allocations: 20.98 kB / 1.194 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005674/0.2729, allocations: 427.7 kB / 1.194 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.2754, allocations: 2.304 MB / 1.196 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.2763, allocations: 0.4896 MB / 1.197 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.2765, allocations: 205.3 kB / 1.197 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2766, allocations: 4.281 kB / 1.197 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2766, allocations: 46.78 kB / 1.197 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 1.283e-06/0.2766, allocations: 0 / 1.197 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0008188/0.2774, allocations: 0.6464 MB / 1.198 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.2775, allocations: 59.39 kB / 1.198 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.2802, allocations: 2.548 MB / 1.2 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.2802, allocations: 45.56 kB / 1.2 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/0.2809, allocations: 0.7646 MB / 1.201 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.281, allocations: 115 kB / 1.201 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2811, allocations: 77.64 kB / 1.201 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.2812, allocations: 318.5 kB / 1.201 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2814, allocations: 139.8 kB / 1.202 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.2816, allocations: 178.7 kB / 1.202 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.282, allocations: 325.1 kB / 1.202 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.282, allocations: 0 / 1.202 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006127/0.2826, allocations: 0.5429 MB / 1.203 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2826, allocations: 8.031 kB / 1.203 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2827, allocations: 0 / 1.203 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2827, allocations: 0 / 1.203 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.283, allocations: 79.89 kB / 1.203 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.283, allocations: 0 / 1.203 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2833, allocations: 31.73 kB / 1.203 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2833, allocations: 8 kB / 1.203 GB, free: 1.32 MB / 0.9512 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.0006362/0.284, allocations: 0.6925 MB / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.2842, allocations: 194.7 kB / 1.204 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.2844, allocations: 223.2 kB / 1.204 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2844, allocations: 4 kB / 1.204 GB, free: 204 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2844, allocations: 0 / 1.204 GB, free: 204 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2845, allocations: 0 / 1.204 GB, free: 204 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.2861, allocations: 1.57 MB / 1.205 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2861, allocations: 3.984 kB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.2864, allocations: 76 kB / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2864, allocations: 0 / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2864, allocations: 8 kB / 1.205 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2865, allocations: 7.984 kB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2865, allocations: 3.938 kB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.2871, allocations: 0.6514 MB / 1.206 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.2875, allocations: 379.6 kB / 1.206 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.2877, allocations: 8 kB / 1.206 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.288, allocations: 11.98 kB / 1.206 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.2881, allocations: 23.91 kB / 1.206 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.2881, allocations: 8 kB / 1.206 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001993/0.2901, allocations: 1.839 MB / 1.208 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2901, allocations: 0 / 1.208 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005064/0.2906, allocations: 219.8 kB / 1.208 GB, free: 11.27 MB / 0.9669 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.0003272/0.2909, allocations: 184.2 kB / 1.209 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.2914, allocations: 329.2 kB / 1.209 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2914, allocations: 0 / 1.209 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.2916, allocations: 180 kB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.2936, allocations: 0.6275 MB / 1.21 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.2973, allocations: 3.405 MB / 1.213 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.2984, allocations: 1.75 MB / 1.215 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005698/0.299, allocations: 311.3 kB / 1.215 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2992, allocations: 83.44 kB / 1.215 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.2992, allocations: 0 / 1.215 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of Templates: time 0.03067/0.3299, allocations: 21.86 MB / 1.236 GB, free: 14.83 MB / 0.9981 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 -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/jenkins/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