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.001664/0.001664, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.00181/0.00181, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.075/3.075, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] 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: 63.91 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366/1.368, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009059/1.377, allocations: 7.39 MB / 1.329 GB, free: 19.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009673/1.387, allocations: 5.249 MB / 1.334 GB, free: 15.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/1.389, allocations: 69.53 kB / 1.334 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005791/1.395, allocations: 1.691 MB / 1.336 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/1.397, allocations: 0.617 MB / 1.337 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000973/1.398, allocations: 220.7 kB / 1.337 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003198/1.401, allocations: 1.769 MB / 1.339 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006795/1.402, allocations: 419 kB / 1.339 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/1.403, allocations: 0.7416 MB / 1.34 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/1.404, allocations: 0.8181 MB / 1.341 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/1.405, allocations: 80.34 kB / 1.341 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/1.405, allocations: 214.8 kB / 1.341 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/1.406, allocations: 330 kB / 1.341 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007642/1.406, allocations: 0.7943 MB / 1.342 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/1.409, allocations: 2.455 MB / 1.344 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.409, allocations: 0 / 1.344 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/1.409, allocations: 1.156 kB / 1.344 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.622e-05/1.41, allocations: 0 / 1.344 GB, free: 11.24 MB / 1.061 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.003761/1.413, allocations: 2.322 MB / 1.347 GB, free: 9.664 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.413, allocations: 13.69 kB / 1.347 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002947/1.414, allocations: 212.2 kB / 1.347 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00302/1.417, allocations: 1.702 MB / 1.348 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/1.417, allocations: 25.25 kB / 1.349 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/1.417, allocations: 44.2 kB / 1.349 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008001/1.418, allocations: 445.1 kB / 1.349 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.418, allocations: 0 / 1.349 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/1.418, allocations: 15 kB / 1.349 GB, free: 8.449 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/1.418, allocations: 25.47 kB / 1.349 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007041/1.418, allocations: 428.8 kB / 1.349 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/1.422, allocations: 2.304 MB / 1.352 GB, free: 7.016 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.423, allocations: 489.8 kB / 1.352 GB, free: 6.875 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/1.423, allocations: 194.8 kB / 1.352 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/1.423, allocations: 3.438 kB / 1.352 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/1.423, allocations: 33.34 kB / 1.352 GB, free: 6.773 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/1.423, allocations: 4 kB / 1.352 GB, free: 6.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.001099/1.425, allocations: 0.6555 MB / 1.353 GB, free: 6.496 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/1.425, allocations: 54.69 kB / 1.353 GB, free: 6.434 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003814/1.428, allocations: 2.552 MB / 1.356 GB, free: 5.605 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/1.428, allocations: 32.7 kB / 1.356 GB, free: 5.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/1.429, allocations: 0.765 MB / 1.356 GB, free: 4.969 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/1.429, allocations: 123.3 kB / 1.356 GB, free: 4.871 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.429, allocations: 68.08 kB / 1.357 GB, free: 4.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/1.429, allocations: 322.8 kB / 1.357 GB, free: 4.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/1.43, allocations: 139.8 kB / 1.357 GB, free: 4.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/1.43, allocations: 178.1 kB / 1.357 GB, free: 4.418 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/1.43, allocations: 326.5 kB / 1.357 GB, free: 4.305 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.43, allocations: 0 / 1.357 GB, free: 4.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009002/1.431, allocations: 0.5335 MB / 1.358 GB, free: 4.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/1.431, allocations: 6.172 kB / 1.358 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.431, allocations: 0 / 1.358 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.431, allocations: 6.219 kB / 1.358 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/1.432, allocations: 80 kB / 1.358 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.432, allocations: 2.094 kB / 1.358 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/1.432, allocations: 32.08 kB / 1.358 GB, free: 4.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/1.432, allocations: 10.69 kB / 1.358 GB, free: 4.031 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.0009793/1.433, allocations: 0.69 MB / 1.359 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/1.434, allocations: 197.1 kB / 1.359 GB, free: 3.621 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/1.434, allocations: 218.2 kB / 1.359 GB, free: 3.527 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/1.434, allocations: 8 kB / 1.359 GB, free: 3.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.434, allocations: 4.641 kB / 1.359 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.434, allocations: 1.266 kB / 1.359 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/1.436, allocations: 1.556 MB / 1.361 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.436, allocations: 1.5 kB / 1.361 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/1.437, allocations: 78.45 kB / 1.361 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/1.437, allocations: 2.625 kB / 1.361 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/1.437, allocations: 9.719 kB / 1.361 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.437, allocations: 11.03 kB / 1.361 GB, free: 2.758 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.437, allocations: 5.406 kB / 1.361 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/1.438, allocations: 0.6472 MB / 1.361 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/1.438, allocations: 384.4 kB / 1.362 GB, free: 2.125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.438, allocations: 7.703 kB / 1.362 GB, free: 2.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.439, allocations: 8.203 kB / 1.362 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/1.439, allocations: 29.05 kB / 1.362 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/1.439, allocations: 10.62 kB / 1.362 GB, free: 2.102 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002875/1.442, allocations: 1.829 MB / 1.364 GB, free: 1.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.442, allocations: 0 / 1.364 GB, free: 1.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008672/1.443, allocations: 236.9 kB / 1.364 GB, free: 1.449 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.000444/1.443, allocations: 161.5 kB / 1.364 GB, free: 1.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006079/1.444, allocations: 322.4 kB / 1.364 GB, free: 1.254 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.444, allocations: 1.156 kB / 1.364 GB, free: 1.254 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/1.444, allocations: 165.8 kB / 1.364 GB, free: 1.207 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/1.446, allocations: 0.6263 MB / 1.365 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/1.452, allocations: 3.205 MB / 1.368 GB, free: 15.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/1.453, allocations: 1.613 MB / 1.37 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/1.454, allocations: 88.28 kB / 1.37 GB, free: 14.64 MB / 1.076 GB Notification: Performance of SimCode: time 1.513e-06/1.454, allocations: 0 / 1.37 GB, free: 14.64 MB / 1.076 GB Notification: Performance of Templates: time 0.05358/1.507, allocations: 24.88 MB / 1.394 GB, free: 6.957 MB / 1.076 GB " [Timeout remaining time 298] 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 -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: 18.91642709300504]