Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 176.3 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.0008915, allocations: 87.8 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 8.125 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2648, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.746/6.011, allocations: 2.19 GB / 3.091 GB, free: 29.12 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/6.012, allocations: 100.7 kB / 3.091 GB, free: 29.03 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7859/6.798, allocations: 64.84 MB / 3.154 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.389e-06/6.798, allocations: 6.406 kB / 3.154 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00011/6.798, allocations: 23.72 kB / 3.154 GB, free: 312.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002875/6.801, allocations: 1.198 MB / 3.155 GB, free: 312 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/6.801, allocations: 9.656 kB / 3.155 GB, free: 312 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/6.802, allocations: 267.9 kB / 3.155 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/6.804, allocations: 0.6297 MB / 3.156 GB, free: 311.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/6.804, allocations: 67.52 kB / 3.156 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/6.804, allocations: 85.88 kB / 3.156 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/6.806, allocations: 0.9624 MB / 3.157 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/6.807, allocations: 0 / 3.157 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/6.807, allocations: 36 kB / 3.157 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/6.807, allocations: 24.28 kB / 3.157 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/6.809, allocations: 1.176 MB / 3.158 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006267/6.816, allocations: 2.598 MB / 3.161 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/6.818, allocations: 0.869 MB / 3.162 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/6.818, allocations: 34.7 kB / 3.162 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/6.819, allocations: 480.7 kB / 3.162 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 3.026e-06/6.819, allocations: 0 / 3.162 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.003652/6.823, allocations: 1.214 MB / 3.163 GB, free: 310 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/6.823, allocations: 245.2 kB / 3.164 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/6.824, allocations: 0.5752 MB / 3.164 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/6.824, allocations: 38.3 kB / 3.164 GB, free: 309.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/6.825, allocations: 402.8 kB / 3.165 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/6.825, allocations: 238.6 kB / 3.165 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/6.825, allocations: 15.09 kB / 3.165 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001478/6.825, allocations: 387.8 kB / 3.165 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/6.826, allocations: 256.5 kB / 3.166 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/6.826, allocations: 365.4 kB / 3.166 GB, free: 308.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/6.827, allocations: 301 kB / 3.166 GB, free: 308.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/6.827, allocations: 0 / 3.166 GB, free: 308.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002046/6.829, allocations: 0.7982 MB / 3.167 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/6.829, allocations: 10.12 kB / 3.167 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/6.829, allocations: 3.875 kB / 3.167 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/6.83, allocations: 81.11 kB / 3.167 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/6.831, allocations: 158.3 kB / 3.167 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/6.833, allocations: 1.531 MB / 3.169 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/6.833, allocations: 96.27 kB / 3.169 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/6.834, allocations: 30.02 kB / 3.169 GB, free: 306.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006692/6.834, allocations: 251.6 kB / 3.169 GB, free: 306.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/6.834, allocations: 77.97 kB / 3.169 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/6.837, allocations: 1.11 MB / 3.17 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/6.837, allocations: 7.906 kB / 3.17 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/6.837, allocations: 0 / 3.17 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/6.837, allocations: 3.984 kB / 3.17 GB, free: 306.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/6.839, allocations: 0.8978 MB / 3.171 GB, free: 306 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/6.839, allocations: 3.953 kB / 3.171 GB, free: 306 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/6.839, allocations: 159.7 kB / 3.171 GB, free: 305.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005305/6.84, allocations: 80.47 kB / 3.171 GB, free: 305.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/6.84, allocations: 28.22 kB / 3.171 GB, free: 305.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/6.842, allocations: 1.56 MB / 3.173 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/6.842, allocations: 0 / 3.173 GB, free: 304.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/6.844, allocations: 0.9313 MB / 3.174 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/6.845, allocations: 277.7 kB / 3.174 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/6.845, allocations: 19.81 kB / 3.174 GB, free: 303.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/6.846, allocations: 78.38 kB / 3.174 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/6.846, allocations: 63.97 kB / 3.174 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/6.846, allocations: 27.27 kB / 3.174 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001011/6.847, allocations: 491.4 kB / 3.175 GB, free: 303.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/6.847, allocations: 0 / 3.175 GB, free: 303.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001416/6.848, allocations: 341.1 kB / 3.175 GB, free: 303.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002483/6.851, allocations: 1.026 MB / 3.176 GB, free: 302.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002052/6.853, allocations: 0.8045 MB / 3.177 GB, free: 302.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/6.853, allocations: 0 / 3.177 GB, free: 302.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/6.854, allocations: 0.5224 MB / 3.177 GB, free: 302.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/6.855, allocations: 240.1 kB / 3.178 GB, free: 302.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/6.861, allocations: 2.193 MB / 3.18 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/6.861, allocations: 1.032 MB / 3.181 GB, free: 299.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001224/6.863, allocations: 265.8 kB / 3.181 GB, free: 299.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/6.863, allocations: 100 kB / 3.181 GB, free: 299.6 MB / 0.8855 GB Notification: Performance of SimCode: time 2.565e-06/6.863, allocations: 0 / 3.181 GB, free: 299.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.02914/6.892, allocations: 20.33 MB / 3.201 GB, free: 280 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches