Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.397/2.397, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 180.8 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.94/1.94, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 87.95 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.236e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3524, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.868/5.22, allocations: 1.732 GB / 2.944 GB, free: 107.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.221, allocations: 95.72 kB / 2.944 GB, free: 107.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.145/5.366, allocations: 67.23 MB / 3.01 GB, free: 45.13 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.573e-06/5.366, allocations: 0 / 3.01 GB, free: 45.13 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001088/5.366, allocations: 20 kB / 3.01 GB, free: 45.11 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002602/5.368, allocations: 1.122 MB / 3.011 GB, free: 43.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/5.368, allocations: 8.031 kB / 3.011 GB, free: 43.92 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/5.37, allocations: 210.5 kB / 3.011 GB, free: 43.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/5.371, allocations: 0.6308 MB / 3.012 GB, free: 43.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/5.371, allocations: 28 kB / 3.012 GB, free: 43.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/5.371, allocations: 52 kB / 3.012 GB, free: 42.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001554/5.373, allocations: 1.026 MB / 3.013 GB, free: 41.94 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/5.374, allocations: 0.7936 MB / 3.013 GB, free: 41.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/5.374, allocations: 3.953 kB / 3.013 GB, free: 41.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/5.374, allocations: 4 kB / 3.013 GB, free: 41.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/5.374, allocations: 24 kB / 3.013 GB, free: 41.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/5.378, allocations: 2.426 MB / 3.016 GB, free: 38.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/5.379, allocations: 0.7299 MB / 3.016 GB, free: 37.83 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/5.38, allocations: 243.2 kB / 3.017 GB, free: 37.59 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000598/5.38, allocations: 466.7 kB / 3.017 GB, free: 37.04 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005467/5.381, allocations: 399.7 kB / 3.018 GB, free: 36.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/5.381, allocations: 0 / 3.018 GB, free: 36.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.004189/5.385, allocations: 1.187 MB / 3.019 GB, free: 35.44 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/5.385, allocations: 244.1 kB / 3.019 GB, free: 35.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/5.386, allocations: 0.4944 MB / 3.019 GB, free: 34.64 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/5.386, allocations: 25.7 kB / 3.019 GB, free: 34.61 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/5.386, allocations: 408 kB / 3.02 GB, free: 34.21 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/5.386, allocations: 228.5 kB / 3.02 GB, free: 33.98 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/5.386, allocations: 0 / 3.02 GB, free: 33.98 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001096/5.387, allocations: 374.8 kB / 3.02 GB, free: 33.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/5.387, allocations: 189.5 kB / 3.021 GB, free: 33.42 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/5.387, allocations: 295.5 kB / 3.021 GB, free: 33.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/5.39, allocations: 0.7657 MB / 3.022 GB, free: 32.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/5.39, allocations: 4 kB / 3.022 GB, free: 32.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004042/5.394, allocations: 1.187 MB / 3.023 GB, free: 31.13 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/5.394, allocations: 5.25 kB / 3.023 GB, free: 31.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/5.394, allocations: 4 kB / 3.023 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/5.395, allocations: 80.84 kB / 3.023 GB, free: 31.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/5.396, allocations: 139.8 kB / 3.023 GB, free: 30.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/5.397, allocations: 1.469 MB / 3.024 GB, free: 29.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/5.398, allocations: 59.53 kB / 3.025 GB, free: 29.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/5.398, allocations: 27.98 kB / 3.025 GB, free: 29.23 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001861/5.398, allocations: 122 kB / 3.025 GB, free: 29.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/5.398, allocations: 75.09 kB / 3.025 GB, free: 29.03 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/5.403, allocations: 1.437 MB / 3.026 GB, free: 27.57 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/5.403, allocations: 8 kB / 3.026 GB, free: 27.57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/5.403, allocations: 0 / 3.026 GB, free: 27.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/5.403, allocations: 7.938 kB / 3.026 GB, free: 27.56 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005385/5.408, allocations: 2.249 MB / 3.028 GB, free: 25.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/5.408, allocations: 7.922 kB / 3.028 GB, free: 25.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/5.409, allocations: 143.8 kB / 3.028 GB, free: 25.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/5.409, allocations: 84.81 kB / 3.029 GB, free: 25.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/5.409, allocations: 15.98 kB / 3.029 GB, free: 25.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/5.411, allocations: 1.473 MB / 3.03 GB, free: 23.42 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/5.411, allocations: 0 / 3.03 GB, free: 23.42 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/5.415, allocations: 1.361 MB / 3.031 GB, free: 22.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/5.415, allocations: 279.8 kB / 3.032 GB, free: 21.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/5.415, allocations: 4 kB / 3.032 GB, free: 21.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/5.416, allocations: 51.94 kB / 3.032 GB, free: 21.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/5.416, allocations: 64.7 kB / 3.032 GB, free: 21.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/5.416, allocations: 31.97 kB / 3.032 GB, free: 21.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004954/5.417, allocations: 398.9 kB / 3.032 GB, free: 21.21 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.12e-07/5.417, allocations: 0 / 3.032 GB, free: 21.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00117/5.418, allocations: 362.9 kB / 3.032 GB, free: 20.86 MB / 1.151 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.002115/5.42, allocations: 1.107 MB / 3.034 GB, free: 19.85 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001073/5.421, allocations: 0.6549 MB / 3.034 GB, free: 19.18 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.421, allocations: 4 kB / 3.034 GB, free: 19.18 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006102/5.422, allocations: 436.6 kB / 3.035 GB, free: 18.74 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/5.423, allocations: 220.3 kB / 3.035 GB, free: 18.53 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/5.426, allocations: 1.325 MB / 3.036 GB, free: 17.18 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/5.427, allocations: 1.04 MB / 3.037 GB, free: 16.11 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008573/5.428, allocations: 261.6 kB / 3.037 GB, free: 15.85 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/5.428, allocations: 95.33 kB / 3.037 GB, free: 15.76 MB / 1.151 GB Notification: Performance of SimCode: time 8.21e-07/5.428, allocations: 0 / 3.037 GB, free: 15.76 MB / 1.151 GB Notification: Performance of Templates: time 0.02395/5.452, allocations: 15.77 MB / 3.053 GB, free: 132 kB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches