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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 443.4 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 59.91 kB / 1.059 GB, free: 336 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.298, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009386/0.3074, allocations: 7.408 MB / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008042/0.3155, allocations: 5.223 MB / 1.229 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.3167, allocations: 51.75 kB / 1.229 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004689/0.3214, allocations: 1.702 MB / 1.23 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.3232, allocations: 0.6049 MB / 1.231 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.3242, allocations: 241.9 kB / 1.231 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.3266, allocations: 1.756 MB / 1.233 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.3271, allocations: 235.5 kB / 1.233 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009751/0.3281, allocations: 0.7036 MB / 1.234 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.3293, allocations: 0.8396 MB / 1.235 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.3295, allocations: 80 kB / 1.235 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.33, allocations: 203.8 kB / 1.235 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.3304, allocations: 338.4 kB / 1.235 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009285/0.3313, allocations: 0.796 MB / 1.236 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.3341, allocations: 2.459 MB / 1.238 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3341, allocations: 0 / 1.238 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3341, allocations: 0 / 1.238 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.414e-05/0.3342, allocations: 0 / 1.238 GB, free: 8.547 MB / 0.9825 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.003677/0.3379, allocations: 2.332 MB / 1.241 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3379, allocations: 12.03 kB / 1.241 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.3382, allocations: 211.5 kB / 1.241 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/0.3411, allocations: 1.687 MB / 1.242 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.3411, allocations: 32.98 kB / 1.242 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.3412, allocations: 32 kB / 1.243 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.3419, allocations: 450.2 kB / 1.243 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.342, allocations: 0 / 1.243 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.342, allocations: 19.98 kB / 1.243 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.342, allocations: 24.98 kB / 1.243 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.3427, allocations: 427.7 kB / 1.243 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.3462, allocations: 2.3 MB / 1.246 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009916/0.3472, allocations: 488.6 kB / 1.246 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.3474, allocations: 189.3 kB / 1.246 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3475, allocations: 4.281 kB / 1.246 GB, free: 76 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3475, allocations: 46.77 kB / 1.246 GB, free: 20 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.413e-06/0.3475, allocations: 0 / 1.246 GB, free: 20 kB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.00104/0.3485, allocations: 0.6503 MB / 1.247 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3486, allocations: 55.41 kB / 1.247 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.3523, allocations: 2.552 MB / 1.25 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.3523, allocations: 37.7 kB / 1.25 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000828/0.3532, allocations: 0.7646 MB / 1.25 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3533, allocations: 115 kB / 1.25 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.3534, allocations: 73.64 kB / 1.25 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3535, allocations: 318.5 kB / 1.251 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3538, allocations: 143.8 kB / 1.251 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.354, allocations: 178.7 kB / 1.251 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.3545, allocations: 321.1 kB / 1.251 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3545, allocations: 4 kB / 1.251 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008267/0.3553, allocations: 0.5428 MB / 1.252 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3553, allocations: 4 kB / 1.252 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3554, allocations: 0 / 1.252 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3554, allocations: 4 kB / 1.252 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.3557, allocations: 79.92 kB / 1.252 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3557, allocations: 0 / 1.252 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.3561, allocations: 39.67 kB / 1.252 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.3562, allocations: 8 kB / 1.252 GB, free: 10.07 MB / 0.9981 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.0008625/0.357, allocations: 0.6925 MB / 1.253 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.3573, allocations: 194.7 kB / 1.253 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.3576, allocations: 219.2 kB / 1.253 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.3576, allocations: 4 kB / 1.253 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3576, allocations: 4 kB / 1.253 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3576, allocations: 4 kB / 1.253 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.3598, allocations: 1.566 MB / 1.255 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3598, allocations: 0 / 1.255 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.3601, allocations: 75.89 kB / 1.255 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.3601, allocations: 4 kB / 1.255 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3601, allocations: 4 kB / 1.255 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3601, allocations: 8.094 kB / 1.255 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.3602, allocations: 11.91 kB / 1.255 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008302/0.361, allocations: 0.6436 MB / 1.255 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/0.3615, allocations: 379.6 kB / 1.256 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3617, allocations: 8 kB / 1.256 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.3621, allocations: 12 kB / 1.256 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3622, allocations: 23.91 kB / 1.256 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3622, allocations: 8 kB / 1.256 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002692/0.3649, allocations: 1.835 MB / 1.258 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3649, allocations: 0 / 1.258 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006525/0.3655, allocations: 227.8 kB / 1.258 GB, free: 4.02 MB / 0.9981 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.0004084/0.3659, allocations: 166.3 kB / 1.258 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005651/0.3665, allocations: 321.2 kB / 1.258 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3665, allocations: 0 / 1.258 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.3667, allocations: 168.5 kB / 1.258 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.369, allocations: 0.6385 MB / 1.259 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5218/0.8908, allocations: 3.404 MB / 1.262 GB, free: 47.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/0.8918, allocations: 1.753 MB / 1.264 GB, free: 46.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007593/0.8925, allocations: 308.6 kB / 1.264 GB, free: 46.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.8927, allocations: 81.59 kB / 1.264 GB, free: 46.46 MB / 0.9981 GB Notification: Performance of SimCode: time 1.663e-06/0.8927, allocations: 0 / 1.264 GB, free: 46.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.04521/0.9379, allocations: 22.1 MB / 1.286 GB, free: 45.17 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.649794031865895]