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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001037, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.765, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004838/0.7699, allocations: 3.717 MB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1464/0.9162, allocations: 127.6 MB / 1.149 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.9168, allocations: 15.88 kB / 1.149 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.9171, allocations: 75.27 kB / 1.149 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.9185, allocations: 0.4999 MB / 1.15 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.9202, allocations: 0.6417 MB / 1.15 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.9213, allocations: 0.826 MB / 1.151 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.922, allocations: 0.5461 MB / 1.152 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.9225, allocations: 354.5 kB / 1.152 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.923, allocations: 350.1 kB / 1.152 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.9231, allocations: 24 kB / 1.152 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/0.9238, allocations: 331.6 kB / 1.153 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.924, allocations: 183.2 kB / 1.153 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.9241, allocations: 209.1 kB / 1.153 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.9253, allocations: 1.235 MB / 1.154 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.9253, allocations: 0 / 1.154 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9253, allocations: 0 / 1.154 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.9253, allocations: 4 kB / 1.154 GB, free: 8.16 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002166/0.9275, allocations: 1.266 MB / 1.155 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.9275, allocations: 8.031 kB / 1.155 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.9286, allocations: 226.3 kB / 1.156 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.9297, allocations: 0.742 MB / 1.156 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.9297, allocations: 66 kB / 1.156 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.9299, allocations: 96 kB / 1.157 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.9316, allocations: 1 MB / 1.157 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.9316, allocations: 0 / 1.157 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.9317, allocations: 39.98 kB / 1.158 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.9317, allocations: 27.94 kB / 1.158 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.9336, allocations: 1.175 MB / 1.159 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004132/0.9377, allocations: 2.736 MB / 1.161 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.9393, allocations: 0.9162 MB / 1.162 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/0.94, allocations: 474.2 kB / 1.163 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008912/0.9409, allocations: 0.5029 MB / 1.163 GB, free: 14.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.9409, allocations: 0 / 1.163 GB, free: 14.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003081/0.944, allocations: 1.233 MB / 1.164 GB, free: 13.31 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.9441, allocations: 196.6 kB / 1.165 GB, free: 13.08 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.9451, allocations: 0.6294 MB / 1.165 GB, free: 12.44 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.084e-05/0.9451, allocations: 41.7 kB / 1.165 GB, free: 12.39 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.9455, allocations: 432.2 kB / 1.166 GB, free: 11.96 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.9457, allocations: 264.2 kB / 1.166 GB, free: 11.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.9458, allocations: 16 kB / 1.166 GB, free: 11.69 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9459, allocations: 382.8 kB / 1.166 GB, free: 11.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/0.9465, allocations: 257.9 kB / 1.167 GB, free: 11.05 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.9471, allocations: 362.5 kB / 1.167 GB, free: 10.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.9477, allocations: 306.8 kB / 1.167 GB, free: 10.38 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9477, allocations: 0 / 1.167 GB, free: 10.38 MB / 0.92 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001834/0.9495, allocations: 0.833 MB / 1.168 GB, free: 9.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.9495, allocations: 4 kB / 1.168 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9496, allocations: 0 / 1.168 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/0.9501, allocations: 80.88 kB / 1.168 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.9508, allocations: 163.8 kB / 1.168 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.9528, allocations: 1.528 MB / 1.17 GB, free: 7.621 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.9536, allocations: 103.3 kB / 1.17 GB, free: 7.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.9537, allocations: 35.97 kB / 1.17 GB, free: 7.484 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.00044/0.9541, allocations: 277.6 kB / 1.17 GB, free: 7.203 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.9542, allocations: 87.02 kB / 1.17 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.9566, allocations: 1.105 MB / 1.171 GB, free: 5.996 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.9567, allocations: 12 kB / 1.171 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.9567, allocations: 7.875 kB / 1.171 GB, free: 5.977 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.9567, allocations: 11.92 kB / 1.171 GB, free: 5.965 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.96, allocations: 2.013 MB / 1.173 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.96, allocations: 3.984 kB / 1.173 GB, free: 3.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.9606, allocations: 147.8 kB / 1.173 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/0.9611, allocations: 84.77 kB / 1.174 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.697e-05/0.9612, allocations: 27.98 kB / 1.174 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.9629, allocations: 1.56 MB / 1.175 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.963, allocations: 7.922 kB / 1.175 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.965, allocations: 1.019 MB / 1.176 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.9654, allocations: 287.7 kB / 1.176 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.9655, allocations: 20 kB / 1.176 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.9662, allocations: 84.58 kB / 1.176 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.9664, allocations: 72.83 kB / 1.177 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.9664, allocations: 39.94 kB / 1.177 GB, free: 376 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005738/0.967, allocations: 463 kB / 1.177 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.967, allocations: 0 / 1.177 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008862/0.9679, allocations: 331.1 kB / 1.177 GB, free: 15.6 MB / 0.9356 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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001293/0.9692, allocations: 0.6236 MB / 1.178 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.9709, allocations: 0.8236 MB / 1.179 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9709, allocations: 0 / 1.179 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009096/0.9718, allocations: 0.5198 MB / 1.179 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.9729, allocations: 250.4 kB / 1.179 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.977, allocations: 2.286 MB / 1.182 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.9777, allocations: 1.067 MB / 1.183 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009311/0.9786, allocations: 270.6 kB / 1.183 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.9789, allocations: 107.4 kB / 1.183 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of SimCode: time 1.583e-06/0.9789, allocations: 0 / 1.183 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of Templates: time 0.02479/1.004, allocations: 14.12 MB / 1.197 GB, free: 11.81 MB / 0.9512 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