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.001403/0.001403, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001404/0.001404, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.096/3.096, allocations: 0.4899 GB / 0.7915 GB, free: 33.39 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.002057/0.002057, allocations: 67.47 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 176.1 MB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009187/0.3071, allocations: 7.39 MB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007769/0.3149, allocations: 5.254 MB / 1.334 GB, free: 6.043 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3159, allocations: 71.44 kB / 1.334 GB, free: 5.973 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004357/0.3203, allocations: 1.702 MB / 1.335 GB, free: 4.262 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.3219, allocations: 0.6011 MB / 1.336 GB, free: 3.656 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.3227, allocations: 233.4 kB / 1.336 GB, free: 3.434 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00211/0.3248, allocations: 1.762 MB / 1.338 GB, free: 1.668 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.3254, allocations: 415.5 kB / 1.338 GB, free: 1.238 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009595/0.3263, allocations: 0.7465 MB / 1.339 GB, free: 500 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009804/0.3273, allocations: 0.8123 MB / 1.34 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.3275, allocations: 84 kB / 1.34 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.328, allocations: 199.8 kB / 1.34 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/0.3283, allocations: 346.4 kB / 1.34 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007659/0.3291, allocations: 0.7843 MB / 1.341 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.3318, allocations: 2.459 MB / 1.344 GB, free: 11.8 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3318, allocations: 0 / 1.344 GB, free: 11.8 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3318, allocations: 0 / 1.344 GB, free: 11.8 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.136e-05/0.3318, allocations: 4 kB / 1.344 GB, free: 11.79 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.003275/0.3351, allocations: 2.323 MB / 1.346 GB, free: 9.402 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3352, allocations: 11.98 kB / 1.346 GB, free: 9.391 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.3355, allocations: 215.6 kB / 1.346 GB, free: 9.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.3382, allocations: 1.698 MB / 1.348 GB, free: 7.414 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.3382, allocations: 29 kB / 1.348 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.3383, allocations: 36 kB / 1.348 GB, free: 7.348 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007382/0.339, allocations: 446.3 kB / 1.348 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.339, allocations: 4 kB / 1.348 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.3391, allocations: 15.98 kB / 1.348 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.3391, allocations: 20.98 kB / 1.348 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.3398, allocations: 431.6 kB / 1.349 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/0.3431, allocations: 2.308 MB / 1.351 GB, free: 3.992 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.3442, allocations: 488.1 kB / 1.351 GB, free: 3.504 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3445, allocations: 189.3 kB / 1.352 GB, free: 3.316 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3445, allocations: 12.22 kB / 1.352 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3445, allocations: 38.84 kB / 1.352 GB, free: 3.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.3445, allocations: 0 / 1.352 GB, free: 3.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.001055/0.3456, allocations: 0.6472 MB / 1.352 GB, free: 2.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3456, allocations: 55.41 kB / 1.352 GB, free: 2.539 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.3491, allocations: 2.556 MB / 1.355 GB, free: 15.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.3491, allocations: 33.7 kB / 1.355 GB, free: 15.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008097/0.35, allocations: 0.7646 MB / 1.356 GB, free: 15.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.3501, allocations: 123 kB / 1.356 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3502, allocations: 69.59 kB / 1.356 GB, free: 14.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3503, allocations: 318.5 kB / 1.356 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.3506, allocations: 139.9 kB / 1.356 GB, free: 14.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3508, allocations: 177.5 kB / 1.356 GB, free: 14.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.3513, allocations: 329.6 kB / 1.357 GB, free: 13.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3513, allocations: 0 / 1.357 GB, free: 13.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007778/0.3521, allocations: 0.5274 MB / 1.357 GB, free: 13.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3521, allocations: 9.75 kB / 1.357 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3521, allocations: 0 / 1.357 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3521, allocations: 4 kB / 1.357 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.3525, allocations: 79.89 kB / 1.357 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3525, allocations: 0 / 1.357 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.3529, allocations: 39.72 kB / 1.357 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3529, allocations: 8 kB / 1.357 GB, free: 13.32 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.0008243/0.3537, allocations: 0.6925 MB / 1.358 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.3539, allocations: 202.7 kB / 1.358 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.3543, allocations: 215.1 kB / 1.358 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3543, allocations: 4 kB / 1.358 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3543, allocations: 0 / 1.358 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3543, allocations: 3.984 kB / 1.358 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3565, allocations: 1.562 MB / 1.36 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3565, allocations: 0 / 1.36 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.3568, allocations: 79.98 kB / 1.36 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3568, allocations: 7.984 kB / 1.36 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3568, allocations: 4 kB / 1.36 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3568, allocations: 4 kB / 1.36 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3568, allocations: 3.938 kB / 1.36 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.3576, allocations: 0.6561 MB / 1.361 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.3582, allocations: 383.6 kB / 1.361 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.3583, allocations: 7.984 kB / 1.361 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.3587, allocations: 8 kB / 1.361 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3588, allocations: 27.91 kB / 1.361 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.3588, allocations: 4 kB / 1.361 GB, free: 9.336 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002571/0.3614, allocations: 1.839 MB / 1.363 GB, free: 7.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3614, allocations: 0 / 1.363 GB, free: 7.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000639/0.362, allocations: 231.8 kB / 1.363 GB, free: 7.254 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.0003908/0.3624, allocations: 160.2 kB / 1.363 GB, free: 7.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005705/0.363, allocations: 327.7 kB / 1.364 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.363, allocations: 0 / 1.364 GB, free: 6.777 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.3632, allocations: 167.8 kB / 1.364 GB, free: 6.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.3655, allocations: 0.6295 MB / 1.364 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.3705, allocations: 3.399 MB / 1.368 GB, free: 2.547 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.372, allocations: 1.758 MB / 1.369 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007234/0.3727, allocations: 311.3 kB / 1.37 GB, free: 456 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3729, allocations: 83.38 kB / 1.37 GB, free: 372 kB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/0.3729, allocations: 0 / 1.37 GB, free: 372 kB / 1.061 GB Notification: Performance of Templates: time 0.0394/0.4123, allocations: 22.05 MB / 1.391 GB, free: 10.64 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 -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/jenkins/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: 8.742149187251925]