Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 209.5 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 76.53 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2863, allocations: 176.1 MB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008736/0.295, allocations: 6.501 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007178/0.3022, allocations: 4.714 MB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006102/0.3028, allocations: 71.44 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003899/0.3067, allocations: 1.582 MB / 1.34 GB, free: 3.973 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.3079, allocations: 0.6205 MB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.3086, allocations: 236.8 kB / 1.341 GB, free: 3.121 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.3106, allocations: 1.771 MB / 1.342 GB, free: 1.348 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.311, allocations: 228 kB / 1.343 GB, free: 1.098 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009021/0.3119, allocations: 0.7466 MB / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009822/0.3129, allocations: 0.8241 MB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.3131, allocations: 80 kB / 1.344 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.3136, allocations: 207.8 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.3139, allocations: 330.4 kB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000637/0.3146, allocations: 0.5901 MB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.3171, allocations: 2.462 MB / 1.348 GB, free: 11.85 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3171, allocations: 0 / 1.348 GB, free: 11.85 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3171, allocations: 0 / 1.348 GB, free: 11.85 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.3171, allocations: 0 / 1.348 GB, free: 11.85 MB / 1.045 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.003354/0.3205, allocations: 2.263 MB / 1.35 GB, free: 9.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3205, allocations: 12.02 kB / 1.35 GB, free: 9.523 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.3208, allocations: 211.6 kB / 1.35 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.3236, allocations: 1.611 MB / 1.352 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.3237, allocations: 32.92 kB / 1.352 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.3237, allocations: 36 kB / 1.352 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.3245, allocations: 476 kB / 1.352 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3245, allocations: 0 / 1.352 GB, free: 7.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.3246, allocations: 15.98 kB / 1.352 GB, free: 7.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/0.3246, allocations: 24.98 kB / 1.352 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006948/0.3253, allocations: 431.6 kB / 1.353 GB, free: 6.645 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.3283, allocations: 1.664 MB / 1.354 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3293, allocations: 0.4893 MB / 1.355 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.3297, allocations: 197.2 kB / 1.355 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3297, allocations: 4.281 kB / 1.355 GB, free: 4.234 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3297, allocations: 34.84 kB / 1.355 GB, free: 4.191 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 1.562e-06/0.3297, allocations: 0 / 1.355 GB, free: 4.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001011/0.3307, allocations: 0.6503 MB / 1.356 GB, free: 3.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3308, allocations: 55.41 kB / 1.356 GB, free: 3.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.3341, allocations: 2.454 MB / 1.358 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.3341, allocations: 37.7 kB / 1.358 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008105/0.3349, allocations: 0.7601 MB / 1.359 GB, free: 176 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.335, allocations: 123 kB / 1.359 GB, free: 52 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3352, allocations: 73.64 kB / 1.359 GB, free: 15.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3353, allocations: 318 kB / 1.359 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.3355, allocations: 139.9 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.3358, allocations: 203.1 kB / 1.36 GB, free: 15.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.3363, allocations: 321.1 kB / 1.36 GB, free: 14.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3363, allocations: 0 / 1.36 GB, free: 14.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007731/0.3371, allocations: 0.5313 MB / 1.36 GB, free: 14.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3371, allocations: 5.562 kB / 1.36 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3371, allocations: 0 / 1.36 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3371, allocations: 4 kB / 1.36 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.3375, allocations: 83.92 kB / 1.361 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3375, allocations: 0 / 1.361 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.3378, allocations: 23.84 kB / 1.361 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3378, allocations: 4 kB / 1.361 GB, free: 14.34 MB / 1.061 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.0008321/0.3387, allocations: 0.6948 MB / 1.361 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.3389, allocations: 186.7 kB / 1.361 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.3392, allocations: 210.6 kB / 1.362 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3392, allocations: 7.938 kB / 1.362 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3392, allocations: 0 / 1.362 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3392, allocations: 3.984 kB / 1.362 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3414, allocations: 1.401 MB / 1.363 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3414, allocations: 0 / 1.363 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.3418, allocations: 75.95 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3418, allocations: 3.938 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3418, allocations: 8 kB / 1.363 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3418, allocations: 3.938 kB / 1.363 GB, free: 11.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3418, allocations: 4 kB / 1.363 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007783/0.3426, allocations: 0.6355 MB / 1.364 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/0.3432, allocations: 306.6 kB / 1.364 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3434, allocations: 12 kB / 1.364 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.3438, allocations: 4 kB / 1.364 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.3438, allocations: 27.83 kB / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3439, allocations: 12 kB / 1.364 GB, free: 10.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002455/0.3463, allocations: 1.763 MB / 1.366 GB, free: 8.883 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3463, allocations: 0 / 1.366 GB, free: 8.883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006389/0.347, allocations: 235.7 kB / 1.366 GB, free: 8.652 MB / 1.061 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.0004121/0.3474, allocations: 159 kB / 1.366 GB, free: 8.492 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005666/0.3479, allocations: 324.9 kB / 1.366 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3479, allocations: 0 / 1.366 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.3482, allocations: 163.8 kB / 1.367 GB, free: 8.016 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.3504, allocations: 0.5997 MB / 1.367 GB, free: 7.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.3553, allocations: 3.377 MB / 1.37 GB, free: 4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.3566, allocations: 1.174 MB / 1.372 GB, free: 2.781 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006939/0.3573, allocations: 302.7 kB / 1.372 GB, free: 2.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.3575, allocations: 75.44 kB / 1.372 GB, free: 2.406 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/0.3575, allocations: 7.938 kB / 1.372 GB, free: 2.398 MB / 1.061 GB Notification: Performance of Templates: time 0.04008/0.3976, allocations: 24.3 MB / 1.396 GB, free: 10.56 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.028887038002722]