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.001869/0.001869, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001635/0.001635, allocations: 211.7 kB / 22.99 MB, free: 4.984 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 35.68 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.002109/0.002109, allocations: 62.92 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3299, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.008628/0.3385, allocations: 6.497 MB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007374/0.3459, allocations: 4.721 MB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008202/0.3467, allocations: 75.44 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.3508, allocations: 1.578 MB / 1.34 GB, free: 3.984 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3523, allocations: 0.6128 MB / 1.34 GB, free: 3.367 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.353, allocations: 242.9 kB / 1.341 GB, free: 3.133 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.355, allocations: 1.759 MB / 1.342 GB, free: 1.371 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.3555, allocations: 236 kB / 1.343 GB, free: 1.113 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.3564, allocations: 0.7504 MB / 1.343 GB, free: 368 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/0.3573, allocations: 0.8239 MB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.3575, allocations: 84 kB / 1.344 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.358, allocations: 211.8 kB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.3584, allocations: 330.4 kB / 1.345 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.359, allocations: 0.5823 MB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.3614, allocations: 2.462 MB / 1.348 GB, free: 11.86 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3614, allocations: 4 kB / 1.348 GB, free: 11.86 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3614, allocations: 0 / 1.348 GB, free: 11.86 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.921e-05/0.3615, allocations: 0 / 1.348 GB, free: 11.86 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.003454/0.3649, allocations: 2.263 MB / 1.35 GB, free: 9.543 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.365, allocations: 12.03 kB / 1.35 GB, free: 9.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.3652, allocations: 207.6 kB / 1.35 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.3682, allocations: 1.611 MB / 1.352 GB, free: 7.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.3682, allocations: 29 kB / 1.352 GB, free: 7.633 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.3682, allocations: 39.98 kB / 1.352 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.369, allocations: 472 kB / 1.352 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.369, allocations: 3.984 kB / 1.352 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.3691, allocations: 16 kB / 1.352 GB, free: 7.102 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.3691, allocations: 17 kB / 1.352 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006615/0.3698, allocations: 431.6 kB / 1.353 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.3727, allocations: 1.672 MB / 1.354 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009896/0.3737, allocations: 493.1 kB / 1.355 GB, free: 4.453 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.374, allocations: 193.2 kB / 1.355 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.374, allocations: 4.281 kB / 1.355 GB, free: 4.258 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3741, allocations: 42.78 kB / 1.355 GB, free: 4.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=34): time 2.285e-06/0.3741, allocations: 0 / 1.355 GB, free: 4.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=34): time 0.0009968/0.3751, allocations: 0.6425 MB / 1.356 GB, free: 3.559 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3751, allocations: 55.41 kB / 1.356 GB, free: 3.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.3783, allocations: 2.466 MB / 1.358 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.3783, allocations: 29.7 kB / 1.358 GB, free: 0.957 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000758/0.379, allocations: 0.764 MB / 1.359 GB, free: 192 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/0.3791, allocations: 119 kB / 1.359 GB, free: 72 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.3793, allocations: 73.72 kB / 1.359 GB, free: 15.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3794, allocations: 318 kB / 1.359 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3796, allocations: 135.9 kB / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.3799, allocations: 207.1 kB / 1.36 GB, free: 15.32 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.3804, allocations: 321.1 kB / 1.36 GB, free: 15.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3804, allocations: 0 / 1.36 GB, free: 15.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007652/0.3811, allocations: 0.5352 MB / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3811, allocations: 9.875 kB / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3811, allocations: 0 / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3812, allocations: 3.938 kB / 1.36 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.3815, allocations: 75.89 kB / 1.361 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3816, allocations: 4 kB / 1.361 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.3819, allocations: 19.84 kB / 1.361 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3819, allocations: 12 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.0008236/0.3827, allocations: 0.6915 MB / 1.361 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.383, allocations: 190.7 kB / 1.361 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.3833, allocations: 210.6 kB / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3833, allocations: 4 kB / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3833, allocations: 0 / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3833, allocations: 7.984 kB / 1.362 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.3854, allocations: 1.393 MB / 1.363 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3854, allocations: 0 / 1.363 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3857, allocations: 79.89 kB / 1.363 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.3857, allocations: 7.938 kB / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3858, allocations: 8.094 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.3858, allocations: 4 kB / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3858, allocations: 0 / 1.363 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.3865, allocations: 0.6393 MB / 1.364 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.3872, allocations: 302.5 kB / 1.364 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.3874, allocations: 11.98 kB / 1.364 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.3877, allocations: 8 kB / 1.364 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3878, allocations: 27.89 kB / 1.364 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.3878, allocations: 8 kB / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002497/0.3903, allocations: 1.763 MB / 1.366 GB, free: 8.898 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3903, allocations: 0 / 1.366 GB, free: 8.898 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006518/0.391, allocations: 243.7 kB / 1.366 GB, free: 8.66 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.0003924/0.3914, allocations: 151.9 kB / 1.366 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000568/0.3919, allocations: 328.9 kB / 1.366 GB, free: 8.188 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3919, allocations: 0 / 1.366 GB, free: 8.188 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.3922, allocations: 163.7 kB / 1.367 GB, free: 8.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.3943, allocations: 0.6019 MB / 1.367 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005141/0.3994, allocations: 3.381 MB / 1.37 GB, free: 4.008 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.4007, allocations: 1.178 MB / 1.372 GB, free: 2.785 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000803/0.4015, allocations: 306.6 kB / 1.372 GB, free: 2.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.4016, allocations: 79.44 kB / 1.372 GB, free: 2.402 MB / 1.061 GB Notification: Performance of SimCode: time 1.182e-06/0.4016, allocations: 0 / 1.372 GB, free: 2.402 MB / 1.061 GB Notification: Performance of Templates: time 0.03967/0.4413, allocations: 24.3 MB / 1.396 GB, free: 10.57 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 cvode -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.272806060995208]