Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001801/0.001801, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002295/0.002295, allocations: 211.5 kB / 22.25 MB, free: 4.859 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.618/1.618, allocations: 230.6 MB / 256 MB, free: 7.805 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.365/3.365, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [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.003615/0.003615, allocations: 64.66 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.42, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007854/0.4278, allocations: 4.688 MB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1912/0.6191, allocations: 132.7 MB / 1.46 GB, free: 7.918 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.6205, allocations: 23.81 kB / 1.46 GB, free: 7.895 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.6215, allocations: 218.1 kB / 1.46 GB, free: 7.68 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.6243, allocations: 0.5708 MB / 1.461 GB, free: 7.109 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.627, allocations: 0.8824 MB / 1.461 GB, free: 6.23 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00274/0.6297, allocations: 1.475 MB / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.6311, allocations: 458.9 kB / 1.463 GB, free: 4.27 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.6324, allocations: 0.549 MB / 1.464 GB, free: 3.719 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.6335, allocations: 0.5015 MB / 1.464 GB, free: 3.215 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.6339, allocations: 132 kB / 1.464 GB, free: 3.086 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.6352, allocations: 0.4918 MB / 1.465 GB, free: 2.594 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005495/0.6357, allocations: 327 kB / 1.465 GB, free: 2.273 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.6368, allocations: 0.5054 MB / 1.466 GB, free: 1.766 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.6405, allocations: 1.809 MB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6405, allocations: 3.984 kB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6405, allocations: 0 / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.826e-05/0.6406, allocations: 4 kB / 1.467 GB, free: 15.94 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003805/0.6444, allocations: 1.493 MB / 1.469 GB, free: 14.41 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6445, allocations: 12.02 kB / 1.469 GB, free: 14.4 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.647, allocations: 367.8 kB / 1.469 GB, free: 14.04 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.6485, allocations: 0.7414 MB / 1.47 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.6486, allocations: 77.98 kB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.6487, allocations: 92 kB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.6511, allocations: 1.321 MB / 1.471 GB, free: 11.69 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.6511, allocations: 4 kB / 1.471 GB, free: 11.68 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.6512, allocations: 43.98 kB / 1.471 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.6512, allocations: 24 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.6538, allocations: 1.221 MB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.6588, allocations: 2.268 MB / 1.475 GB, free: 8.078 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.6615, allocations: 0.8926 MB / 1.476 GB, free: 7.172 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008218/0.6623, allocations: 334.6 kB / 1.476 GB, free: 6.844 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.757e-05/0.6624, allocations: 28.62 kB / 1.476 GB, free: 6.816 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.6637, allocations: 0.661 MB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.464e-06/0.6637, allocations: 0 / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.004151/0.6679, allocations: 1.309 MB / 1.478 GB, free: 4.801 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.668, allocations: 196.9 kB / 1.478 GB, free: 4.566 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/0.6689, allocations: 0.5978 MB / 1.479 GB, free: 3.961 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.669, allocations: 49.69 kB / 1.479 GB, free: 3.906 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.6694, allocations: 437 kB / 1.479 GB, free: 3.473 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.6697, allocations: 289.6 kB / 1.48 GB, free: 3.188 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.67, allocations: 170.6 kB / 1.48 GB, free: 3.016 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.6702, allocations: 374.8 kB / 1.48 GB, free: 2.641 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000815/0.6711, allocations: 329.8 kB / 1.48 GB, free: 2.316 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.6721, allocations: 0.5386 MB / 1.481 GB, free: 1.73 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.6738, allocations: 0.7101 MB / 1.482 GB, free: 1.012 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6738, allocations: 4 kB / 1.482 GB, free: 1.008 MB / 1.17 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00261/0.6764, allocations: 0.9701 MB / 1.483 GB, free: 28 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.6765, allocations: 4 kB / 1.483 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6765, allocations: 4 kB / 1.483 GB, free: 20 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.6771, allocations: 84.94 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008384/0.6779, allocations: 183.8 kB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.6803, allocations: 1.514 MB / 1.484 GB, free: 14.13 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008597/0.6812, allocations: 107.5 kB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.6813, allocations: 47.91 kB / 1.484 GB, free: 13.98 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005229/0.6818, allocations: 270.1 kB / 1.485 GB, free: 13.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.682, allocations: 87.61 kB / 1.485 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.6851, allocations: 1.206 MB / 1.486 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6851, allocations: 8 kB / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6851, allocations: 0 / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6851, allocations: 3.984 kB / 1.486 GB, free: 12.39 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.6893, allocations: 1.878 MB / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6893, allocations: 0 / 1.488 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.69, allocations: 183.7 kB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.6905, allocations: 72.77 kB / 1.488 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.6905, allocations: 27.98 kB / 1.488 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.6927, allocations: 1.524 MB / 1.49 GB, free: 8.559 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6927, allocations: 4.062 kB / 1.49 GB, free: 8.555 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.6957, allocations: 1.123 MB / 1.491 GB, free: 7.414 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/0.6963, allocations: 203.1 kB / 1.491 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.6965, allocations: 19.95 kB / 1.491 GB, free: 7.195 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008152/0.6973, allocations: 87.91 kB / 1.491 GB, free: 7.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.6975, allocations: 72.86 kB / 1.491 GB, free: 7.039 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/0.6975, allocations: 39.97 kB / 1.491 GB, free: 7 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006321/0.6982, allocations: 439 kB / 1.492 GB, free: 6.578 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6982, allocations: 0 / 1.492 GB, free: 6.578 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001067/0.6992, allocations: 355 kB / 1.492 GB, free: 6.23 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002251/0.7015, allocations: 0.6461 MB / 1.492 GB, free: 5.785 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.704, allocations: 0.9172 MB / 1.493 GB, free: 4.852 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7041, allocations: 0 / 1.493 GB, free: 4.852 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.7053, allocations: 0.5471 MB / 1.494 GB, free: 4.293 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.7067, allocations: 301.2 kB / 1.494 GB, free: 4.016 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.7107, allocations: 1.827 MB / 1.496 GB, free: 2.164 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/0.7113, allocations: 474 kB / 1.496 GB, free: 1.66 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0012/0.7125, allocations: 262.6 kB / 1.497 GB, free: 1.398 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.7129, allocations: 115.4 kB / 1.497 GB, free: 1.285 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/0.7129, allocations: 0 / 1.497 GB, free: 1.285 MB / 1.186 GB Notification: Performance of Templates: time 0.033/0.7459, allocations: 17 MB / 1.513 GB, free: 0.5586 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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: 10.509526956826448]