Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009572/0.0009572, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009384/0.0009384, allocations: 169 kB / 23.03 MB, free: 1.547 MB / 18.57 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 0.9814/0.9814, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.971/1.971, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.103e-05, allocations: 6.219 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004908/0.004929, allocations: 5.057 MB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1214/0.1263, allocations: 146.6 MB / 1.026 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007849/0.1271, allocations: 23.81 kB / 1.026 GB, free: 14.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.1276, allocations: 206.1 kB / 1.026 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.1289, allocations: 0.6095 MB / 1.027 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1303, allocations: 0.8841 MB / 1.028 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1314, allocations: 1.549 MB / 1.029 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.1319, allocations: 458.3 kB / 1.03 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008615/0.1328, allocations: 0.842 MB / 1.031 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.1331, allocations: 426.7 kB / 1.031 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.1333, allocations: 124 kB / 1.031 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.1339, allocations: 0.4915 MB / 1.032 GB, free: 8.527 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.1341, allocations: 334.9 kB / 1.032 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.1343, allocations: 407 kB / 1.032 GB, free: 7.801 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1354, allocations: 1.331 MB / 1.034 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1354, allocations: 0 / 1.034 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1354, allocations: 0 / 1.034 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.1355, allocations: 0 / 1.034 GB, free: 6.465 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001549/0.137, allocations: 1.597 MB / 1.035 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.137, allocations: 12.03 kB / 1.035 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.1382, allocations: 447.3 kB / 1.036 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007526/0.139, allocations: 0.7452 MB / 1.036 GB, free: 3.598 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.139, allocations: 82.11 kB / 1.037 GB, free: 3.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.413e-05/0.1391, allocations: 112 kB / 1.037 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1403, allocations: 1.05 MB / 1.038 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1403, allocations: 0 / 1.038 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.1403, allocations: 43.98 kB / 1.038 GB, free: 2.223 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1404, allocations: 24 kB / 1.038 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.1413, allocations: 0.8583 MB / 1.039 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.1438, allocations: 2.386 MB / 1.041 GB, free: 14.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1449, allocations: 0.6118 MB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.1452, allocations: 218.4 kB / 1.042 GB, free: 14.06 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.1452, allocations: 32.97 kB / 1.042 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/0.1457, allocations: 0.5161 MB / 1.042 GB, free: 13.46 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 1.914e-06/0.1457, allocations: 0 / 1.042 GB, free: 13.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.001562/0.1473, allocations: 0.9173 MB / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.1474, allocations: 196.9 kB / 1.043 GB, free: 12.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.1478, allocations: 0.5737 MB / 1.044 GB, free: 11.72 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.1479, allocations: 49.7 kB / 1.044 GB, free: 11.66 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.1482, allocations: 487.9 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.1483, allocations: 309.4 kB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.1485, allocations: 196.2 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.1487, allocations: 0.5625 MB / 1.045 GB, free: 10.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.1489, allocations: 165.9 kB / 1.046 GB, free: 9.938 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.1492, allocations: 401.8 kB / 1.046 GB, free: 9.492 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.1498, allocations: 439.1 kB / 1.046 GB, free: 9.051 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1498, allocations: 0 / 1.046 GB, free: 9.051 MB / 1.01 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009799/0.1508, allocations: 0.723 MB / 1.047 GB, free: 8.316 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1508, allocations: 4 kB / 1.047 GB, free: 8.312 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.1508, allocations: 4 kB / 1.047 GB, free: 8.309 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004435/0.1512, allocations: 131.6 kB / 1.047 GB, free: 8.176 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.1516, allocations: 199.7 kB / 1.047 GB, free: 7.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.1529, allocations: 1.894 MB / 1.049 GB, free: 5.961 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.1532, allocations: 87.52 kB / 1.049 GB, free: 5.875 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.1532, allocations: 48 kB / 1.049 GB, free: 5.828 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (111): * Single equations (assignments): 110 * 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.0002015/0.1534, allocations: 215 kB / 1.05 GB, free: 5.609 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1535, allocations: 119.4 kB / 1.05 GB, free: 5.492 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.1547, allocations: 0.9084 MB / 1.051 GB, free: 4.566 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1547, allocations: 12 kB / 1.051 GB, free: 4.555 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1547, allocations: 0 / 1.051 GB, free: 4.555 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1547, allocations: 11.92 kB / 1.051 GB, free: 4.543 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.1567, allocations: 1.732 MB / 1.052 GB, free: 2.746 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1567, allocations: 0 / 1.052 GB, free: 2.746 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.157, allocations: 171.7 kB / 1.052 GB, free: 2.578 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003425/0.1574, allocations: 111.6 kB / 1.053 GB, free: 2.465 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.1574, allocations: 27.97 kB / 1.053 GB, free: 2.438 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1584, allocations: 1.921 MB / 1.054 GB, free: 396 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1584, allocations: 4.094 kB / 1.054 GB, free: 392 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4313/0.5897, allocations: 0.9308 MB / 1.055 GB, free: 73.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.59, allocations: 197.3 kB / 1.056 GB, free: 73.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/0.5901, allocations: 27.38 kB / 1.056 GB, free: 73.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.5904, allocations: 46.44 kB / 1.056 GB, free: 73.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5905, allocations: 78.17 kB / 1.056 GB, free: 73.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.5905, allocations: 39.86 kB / 1.056 GB, free: 73.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002723/0.5908, allocations: 387.1 kB / 1.056 GB, free: 73.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5908, allocations: 0 / 1.056 GB, free: 73.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007166/0.5915, allocations: 362.4 kB / 1.056 GB, free: 73.36 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00116/0.5927, allocations: 0.6325 MB / 1.057 GB, free: 73.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009288/0.5936, allocations: 0.7286 MB / 1.058 GB, free: 73.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5936, allocations: 2.469 kB / 1.058 GB, free: 73.04 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004157/0.594, allocations: 0.4988 MB / 1.058 GB, free: 72.86 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.5947, allocations: 320.4 kB / 1.059 GB, free: 72.84 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.5968, allocations: 1.649 MB / 1.06 GB, free: 72.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.5969, allocations: 204.5 kB / 1.06 GB, free: 72.03 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004819/0.5974, allocations: 274.2 kB / 1.061 GB, free: 72 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.5976, allocations: 117.7 kB / 1.061 GB, free: 72 MB / 1.01 GB Notification: Performance of SimCode: time 7.32e-07/0.5976, allocations: 0 / 1.061 GB, free: 72 MB / 1.01 GB Notification: Performance of Templates: time 0.0188/0.6164, allocations: 17.16 MB / 1.078 GB, free: 70.42 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.1615122919902205]