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: 77.86 kB / 19.76 MB, free: 2.031 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.001429/0.001429, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.809/2.809, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002303/0.002303, allocations: 67.89 kB / 0.982 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.82/0.8223, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006089/0.8284, allocations: 6.494 MB / 1.16 GB, free: 29.01 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005822/0.8342, allocations: 4.709 MB / 1.165 GB, free: 25.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000885/0.8351, allocations: 74.06 kB / 1.165 GB, free: 25.75 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.8387, allocations: 1.587 MB / 1.167 GB, free: 25.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.8399, allocations: 0.6201 MB / 1.167 GB, free: 24.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.8406, allocations: 231.7 kB / 1.167 GB, free: 24.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.8422, allocations: 1.77 MB / 1.169 GB, free: 23.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.8425, allocations: 228.7 kB / 1.169 GB, free: 23.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.8432, allocations: 0.751 MB / 1.17 GB, free: 23.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007512/0.844, allocations: 0.8224 MB / 1.171 GB, free: 22.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.8441, allocations: 79.22 kB / 1.171 GB, free: 22.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.8446, allocations: 203.5 kB / 1.171 GB, free: 22.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.8448, allocations: 336.1 kB / 1.171 GB, free: 22.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005366/0.8454, allocations: 0.5819 MB / 1.172 GB, free: 22.36 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.8482, allocations: 2.46 MB / 1.174 GB, free: 21.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8482, allocations: 0 / 1.174 GB, free: 21.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8482, allocations: 0 / 1.174 GB, free: 21.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.046e-05/0.8482, allocations: 1.406 kB / 1.174 GB, free: 21.42 MB / 1.076 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.003592/0.8518, allocations: 2.262 MB / 1.177 GB, free: 19.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8518, allocations: 11.23 kB / 1.177 GB, free: 19.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.8521, allocations: 208.8 kB / 1.177 GB, free: 19.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.8549, allocations: 1.606 MB / 1.178 GB, free: 18.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.8549, allocations: 33.61 kB / 1.178 GB, free: 18.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.855, allocations: 35.78 kB / 1.178 GB, free: 18.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.8557, allocations: 478.7 kB / 1.179 GB, free: 18.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.8557, allocations: 1.375 kB / 1.179 GB, free: 18.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.8557, allocations: 19.25 kB / 1.179 GB, free: 18.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.8558, allocations: 20.69 kB / 1.179 GB, free: 18.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.8564, allocations: 421.9 kB / 1.179 GB, free: 18.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.8594, allocations: 1.681 MB / 1.181 GB, free: 17.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.8603, allocations: 493.2 kB / 1.182 GB, free: 17.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.8606, allocations: 194.3 kB / 1.182 GB, free: 17.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.8606, allocations: 3.938 kB / 1.182 GB, free: 17.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.8606, allocations: 41.5 kB / 1.182 GB, free: 17.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.8606, allocations: 0 / 1.182 GB, free: 17.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.000988/0.8616, allocations: 0.6422 MB / 1.182 GB, free: 17.37 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.8617, allocations: 56.52 kB / 1.182 GB, free: 17.31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.8649, allocations: 2.465 MB / 1.185 GB, free: 16.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.865, allocations: 31.98 kB / 1.185 GB, free: 16.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006352/0.8656, allocations: 0.7606 MB / 1.186 GB, free: 15.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.8657, allocations: 122.6 kB / 1.186 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.8658, allocations: 68.25 kB / 1.186 GB, free: 15.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.8658, allocations: 322.4 kB / 1.186 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.8661, allocations: 141.6 kB / 1.186 GB, free: 15.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.8663, allocations: 202.5 kB / 1.186 GB, free: 15.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.8668, allocations: 327.2 kB / 1.187 GB, free: 15.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8668, allocations: 0 / 1.187 GB, free: 15.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007832/0.8675, allocations: 0.5313 MB / 1.187 GB, free: 14.94 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8676, allocations: 7.656 kB / 1.187 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8676, allocations: 0.7969 kB / 1.187 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8676, allocations: 1.125 kB / 1.187 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.8679, allocations: 80.2 kB / 1.187 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.8679, allocations: 1.188 kB / 1.187 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.8684, allocations: 23.56 kB / 1.187 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.8685, allocations: 13.97 kB / 1.187 GB, free: 14.91 MB / 1.076 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.0008063/0.8693, allocations: 0.6867 MB / 1.188 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.8695, allocations: 194.1 kB / 1.188 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.8698, allocations: 213.2 kB / 1.188 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.8698, allocations: 3.469 kB / 1.188 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.8698, allocations: 1.094 kB / 1.188 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8698, allocations: 6.094 kB / 1.188 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.8719, allocations: 1.395 MB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8719, allocations: 1.781 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.8722, allocations: 74.16 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.8722, allocations: 1.875 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.8722, allocations: 15.38 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8722, allocations: 2.625 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8722, allocations: 1.25 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.8729, allocations: 0.6397 MB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/0.8735, allocations: 298.5 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.8737, allocations: 7.359 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.874, allocations: 8.531 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.8741, allocations: 26.91 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.8741, allocations: 6.891 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002285/0.8764, allocations: 1.765 MB / 1.193 GB, free: 12.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8764, allocations: 4 kB / 1.193 GB, free: 12.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007293/0.8771, allocations: 237.1 kB / 1.193 GB, free: 12.57 MB / 1.076 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.0003549/0.8775, allocations: 161.5 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.878, allocations: 325.7 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.878, allocations: 1.062 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.8782, allocations: 166.1 kB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.8803, allocations: 0.5843 MB / 1.194 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.885, allocations: 3.389 MB / 1.197 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.8864, allocations: 1.173 MB / 1.198 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008983/0.8873, allocations: 308.3 kB / 1.199 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.8875, allocations: 79.81 kB / 1.199 GB, free: 10.22 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/0.8875, allocations: 0 / 1.199 GB, free: 10.22 MB / 1.076 GB Notification: Performance of Templates: time 0.04072/0.9282, allocations: 22.12 MB / 1.22 GB, free: 7.367 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.05348214902915]