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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 194.3 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.112/3.112, allocations: 495.8 MB / 0.783 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 69.81 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3663, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007379/0.3737, allocations: 5.205 MB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1845/0.5582, allocations: 149.6 MB / 1.458 GB, free: 6.375 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009844/0.5592, allocations: 19.88 kB / 1.458 GB, free: 6.355 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.5599, allocations: 210.1 kB / 1.458 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002/0.5619, allocations: 0.5754 MB / 1.459 GB, free: 5.574 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.564, allocations: 0.8757 MB / 1.46 GB, free: 4.703 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002119/0.5661, allocations: 1.46 MB / 1.461 GB, free: 3.238 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008687/0.567, allocations: 478.2 kB / 1.461 GB, free: 2.738 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000768/0.5677, allocations: 0.5334 MB / 1.462 GB, free: 2.203 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.5685, allocations: 0.5562 MB / 1.463 GB, free: 1.645 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.5687, allocations: 131.9 kB / 1.463 GB, free: 1.516 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009695/0.5697, allocations: 491.6 kB / 1.463 GB, free: 1.035 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.57, allocations: 323 kB / 1.463 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.5707, allocations: 0.6102 MB / 1.464 GB, free: 108 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.5731, allocations: 1.759 MB / 1.466 GB, free: 14.34 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5731, allocations: 0 / 1.466 GB, free: 14.34 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5731, allocations: 0 / 1.466 GB, free: 14.34 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.266e-05/0.5731, allocations: 4 kB / 1.466 GB, free: 14.34 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.003327/0.5764, allocations: 1.466 MB / 1.467 GB, free: 12.84 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5765, allocations: 12.92 kB / 1.467 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.5784, allocations: 303.9 kB / 1.467 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.5799, allocations: 0.7212 MB / 1.468 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/0.58, allocations: 74 kB / 1.468 GB, free: 11.71 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.5802, allocations: 88 kB / 1.468 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.5825, allocations: 1.081 MB / 1.469 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5826, allocations: 0 / 1.469 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5827, allocations: 40 kB / 1.469 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.5827, allocations: 24 kB / 1.469 GB, free: 10.44 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.5856, allocations: 1.268 MB / 1.471 GB, free: 9.172 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005866/0.5914, allocations: 2.974 MB / 1.474 GB, free: 6.047 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/0.5944, allocations: 0.9169 MB / 1.475 GB, free: 5.125 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009387/0.5953, allocations: 334.6 kB / 1.475 GB, free: 4.797 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/0.5954, allocations: 28.61 kB / 1.475 GB, free: 4.77 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.5968, allocations: 0.5568 MB / 1.475 GB, free: 4.199 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.274e-06/0.5968, allocations: 0 / 1.475 GB, free: 4.199 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.00444/0.6012, allocations: 1.313 MB / 1.477 GB, free: 2.875 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.6014, allocations: 192.9 kB / 1.477 GB, free: 2.645 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.6026, allocations: 0.6488 MB / 1.477 GB, free: 1.988 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.6027, allocations: 41.7 kB / 1.478 GB, free: 1.941 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.6031, allocations: 437 kB / 1.478 GB, free: 1.508 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/0.6036, allocations: 281.5 kB / 1.478 GB, free: 1.23 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.6039, allocations: 166.6 kB / 1.478 GB, free: 1.062 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002879/0.6042, allocations: 386.8 kB / 1.479 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008734/0.605, allocations: 329.8 kB / 1.479 GB, free: 360 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/0.606, allocations: 423 kB / 1.479 GB, free: 15.93 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.6082, allocations: 0.7062 MB / 1.48 GB, free: 15.21 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6082, allocations: 7.938 kB / 1.48 GB, free: 15.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002805/0.611, allocations: 0.9779 MB / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.611, allocations: 8.938 kB / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.611, allocations: 0 / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.6117, allocations: 88.84 kB / 1.481 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/0.6125, allocations: 191.7 kB / 1.481 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.6152, allocations: 1.532 MB / 1.483 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.6163, allocations: 113.1 kB / 1.483 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.6164, allocations: 39.97 kB / 1.483 GB, free: 12.12 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.000607/0.617, allocations: 275.5 kB / 1.483 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.6172, allocations: 87.44 kB / 1.483 GB, free: 11.76 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.6209, allocations: 1.202 MB / 1.485 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.6209, allocations: 8 kB / 1.485 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6209, allocations: 0 / 1.485 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.6209, allocations: 7.969 kB / 1.485 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.6254, allocations: 2.124 MB / 1.487 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6254, allocations: 0 / 1.487 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008814/0.6263, allocations: 167.8 kB / 1.487 GB, free: 8.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/0.6268, allocations: 72.78 kB / 1.487 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.6269, allocations: 39.95 kB / 1.487 GB, free: 8.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.6292, allocations: 1.551 MB / 1.488 GB, free: 6.395 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6292, allocations: 4.031 kB / 1.488 GB, free: 6.391 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.6323, allocations: 1.127 MB / 1.49 GB, free: 5.246 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.6328, allocations: 203 kB / 1.49 GB, free: 5.047 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.6329, allocations: 19.98 kB / 1.49 GB, free: 5.027 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.6338, allocations: 79.92 kB / 1.49 GB, free: 4.949 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.634, allocations: 84.78 kB / 1.49 GB, free: 4.863 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.6341, allocations: 35.98 kB / 1.49 GB, free: 4.828 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006914/0.6348, allocations: 475 kB / 1.49 GB, free: 4.367 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6348, allocations: 0 / 1.49 GB, free: 4.367 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001028/0.6358, allocations: 351 kB / 1.491 GB, free: 4.023 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.002108/0.6379, allocations: 0.6122 MB / 1.491 GB, free: 3.586 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.6406, allocations: 0.925 MB / 1.492 GB, free: 2.652 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6406, allocations: 0 / 1.492 GB, free: 2.652 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.642, allocations: 0.5509 MB / 1.493 GB, free: 2.09 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.6436, allocations: 303.9 kB / 1.493 GB, free: 1.816 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.6476, allocations: 1.813 MB / 1.495 GB, free: 15.97 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.6486, allocations: 1.047 MB / 1.496 GB, free: 14.89 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001062/0.6497, allocations: 286.9 kB / 1.496 GB, free: 14.61 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.65, allocations: 107.4 kB / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of SimCode: time 1.563e-06/0.65, allocations: 0 / 1.496 GB, free: 14.5 MB / 1.201 GB Notification: Performance of Templates: time 0.03241/0.6824, allocations: 16.64 MB / 1.512 GB, free: 14.04 MB / 1.217 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: 9.81425164733082]