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.001517/0.001517, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001628/0.001629, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 63.91 kB / 0.9516 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9743/0.9758, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008367/0.9842, allocations: 7.33 MB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009795/0.9941, allocations: 5.199 MB / 1.101 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.9964, allocations: 52.38 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006119/1.003, allocations: 1.689 MB / 1.103 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003016/1.006, allocations: 0.601 MB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/1.007, allocations: 236.4 kB / 1.103 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00355/1.01, allocations: 1.759 MB / 1.105 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/1.012, allocations: 0.5874 MB / 1.106 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/1.013, allocations: 0.6947 MB / 1.106 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/1.014, allocations: 0.813 MB / 1.107 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/1.014, allocations: 81.03 kB / 1.107 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000647/1.015, allocations: 202.6 kB / 1.107 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/1.016, allocations: 334.6 kB / 1.108 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009948/1.017, allocations: 0.7822 MB / 1.109 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/1.02, allocations: 2.426 MB / 1.111 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.02, allocations: 0.8438 kB / 1.111 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.894e-06/1.02, allocations: 0 / 1.111 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.774e-05/1.02, allocations: 1.438 kB / 1.111 GB, free: 7.75 MB / 0.8731 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.003878/1.024, allocations: 2.251 MB / 1.113 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.024, allocations: 9.906 kB / 1.113 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/1.024, allocations: 199.5 kB / 1.113 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/1.028, allocations: 1.677 MB / 1.115 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/1.028, allocations: 32.98 kB / 1.115 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-05/1.028, allocations: 32.06 kB / 1.115 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/1.029, allocations: 449.3 kB / 1.115 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.029, allocations: 0 / 1.115 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/1.029, allocations: 19.8 kB / 1.115 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/1.029, allocations: 20.92 kB / 1.116 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007128/1.029, allocations: 428.6 kB / 1.116 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/1.033, allocations: 2.3 MB / 1.118 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.034, allocations: 0.5017 MB / 1.119 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/1.035, allocations: 201.7 kB / 1.119 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/1.035, allocations: 3.719 kB / 1.119 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/1.035, allocations: 38.12 kB / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/1.035, allocations: 0 / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.001232/1.036, allocations: 0.6376 MB / 1.12 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/1.036, allocations: 59.41 kB / 1.12 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/1.04, allocations: 2.553 MB / 1.122 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.87e-05/1.04, allocations: 31.33 kB / 1.122 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007926/1.041, allocations: 0.7674 MB / 1.123 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.041, allocations: 113.6 kB / 1.123 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.041, allocations: 72.2 kB / 1.123 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.041, allocations: 322.4 kB / 1.123 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/1.042, allocations: 137.5 kB / 1.123 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/1.042, allocations: 173.4 kB / 1.124 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/1.043, allocations: 325.9 kB / 1.124 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.043, allocations: 0 / 1.124 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001003/1.044, allocations: 0.5253 MB / 1.124 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.044, allocations: 4.781 kB / 1.124 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.044, allocations: 0 / 1.124 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.044, allocations: 1.625 kB / 1.124 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/1.044, allocations: 83.73 kB / 1.125 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.044, allocations: 5.812 kB / 1.125 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/1.045, allocations: 31.94 kB / 1.125 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/1.045, allocations: 13.66 kB / 1.125 GB, free: 0.6523 MB / 0.8731 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.001142/1.046, allocations: 0.6862 MB / 1.125 GB, free: 364 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/1.046, allocations: 187.5 kB / 1.125 GB, free: 260 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/1.047, allocations: 213.6 kB / 1.126 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/1.047, allocations: 4.156 kB / 1.126 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.047, allocations: 1.531 kB / 1.126 GB, free: 176 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.047, allocations: 5.594 kB / 1.126 GB, free: 172 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/1.049, allocations: 1.572 MB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.049, allocations: 1.062 kB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/1.05, allocations: 77.77 kB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.05, allocations: 3 kB / 1.127 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.05, allocations: 6.25 kB / 1.127 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.05, allocations: 2.219 kB / 1.127 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.05, allocations: 9.859 kB / 1.127 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/1.051, allocations: 0.6413 MB / 1.128 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006848/1.051, allocations: 372.4 kB / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.052, allocations: 7.672 kB / 1.128 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/1.052, allocations: 12.28 kB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/1.052, allocations: 20.34 kB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/1.052, allocations: 10.66 kB / 1.128 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00332/1.055, allocations: 1.833 MB / 1.13 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3e-07/1.055, allocations: 0 / 1.13 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009906/1.056, allocations: 225.1 kB / 1.13 GB, free: 14.12 MB / 0.8887 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.0004401/1.057, allocations: 182 kB / 1.13 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006447/1.058, allocations: 336.7 kB / 1.131 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.058, allocations: 0 / 1.131 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/1.058, allocations: 172.1 kB / 1.131 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.06, allocations: 0.6226 MB / 1.132 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/1.066, allocations: 3.142 MB / 1.135 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.068, allocations: 1.619 MB / 1.136 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/1.068, allocations: 82.97 kB / 1.136 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of SimCode: time 8.21e-07/1.068, allocations: 0 / 1.136 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of Templates: time 0.05166/1.12, allocations: 24.79 MB / 1.161 GB, free: 0.793 MB / 0.8887 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/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