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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001073/0.001072, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.25 kB / 0.912 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.416, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007523/0.4236, allocations: 5.169 MB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.6191, allocations: 150.7 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.6211, allocations: 15.94 kB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.6225, allocations: 198.1 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004301/0.627, allocations: 0.5699 MB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.6312, allocations: 0.8637 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003378/0.6346, allocations: 1.44 MB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.6367, allocations: 0.66 MB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.6384, allocations: 0.5061 MB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.6399, allocations: 0.5561 MB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005367/0.6405, allocations: 124 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.6426, allocations: 483.7 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.6432, allocations: 319 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.6447, allocations: 0.614 MB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004643/0.6494, allocations: 1.71 MB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.6494, allocations: 0 / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.857e-06/0.6494, allocations: 0 / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.738e-05/0.6495, allocations: 0 / 1.228 GB, free: 5.855 MB / 0.9825 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.004644/0.6542, allocations: 1.504 MB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.6543, allocations: 12.03 kB / 1.23 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.6561, allocations: 215.2 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.6579, allocations: 0.7616 MB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/0.658, allocations: 66 kB / 1.231 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.6582, allocations: 100 kB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.6609, allocations: 1.02 MB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.6609, allocations: 0 / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.6611, allocations: 36 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.6611, allocations: 24 kB / 1.232 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.6642, allocations: 1.171 MB / 1.233 GB, free: 0.8164 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006561/0.6707, allocations: 2.961 MB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.6727, allocations: 0.9164 MB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.6733, allocations: 322.7 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008071/0.6741, allocations: 470.1 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.6752, allocations: 0.5069 MB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.524e-06/0.6753, allocations: 0 / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003711/0.679, allocations: 1.233 MB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.6791, allocations: 188.6 kB / 1.239 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009516/0.6801, allocations: 0.645 MB / 1.24 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-05/0.6802, allocations: 41.7 kB / 1.24 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.6806, allocations: 432.1 kB / 1.241 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.6809, allocations: 268.2 kB / 1.241 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.6812, allocations: 162.5 kB / 1.241 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002673/0.6815, allocations: 390.7 kB / 1.241 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.6822, allocations: 273.8 kB / 1.242 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.6829, allocations: 379.1 kB / 1.242 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.6843, allocations: 0.6229 MB / 1.243 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6843, allocations: 3.938 kB / 1.243 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002147/0.6865, allocations: 0.8722 MB / 1.243 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6865, allocations: 8 kB / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.6865, allocations: 0 / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.6872, allocations: 88.8 kB / 1.244 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/0.6879, allocations: 171.8 kB / 1.244 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.6903, allocations: 1.63 MB / 1.245 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.6911, allocations: 99.16 kB / 1.245 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.6912, allocations: 39.97 kB / 1.245 GB, free: 3.602 MB / 0.9981 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 (96): * Single equations (assignments): 95 * 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.0005051/0.6917, allocations: 272 kB / 1.246 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.6919, allocations: 82.97 kB / 1.246 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.6945, allocations: 1.097 MB / 1.247 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6945, allocations: 11.98 kB / 1.247 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6945, allocations: 7.938 kB / 1.247 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6945, allocations: 3.984 kB / 1.247 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.698, allocations: 2.004 MB / 1.249 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.698, allocations: 4 kB / 1.249 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.8452/1.543, allocations: 146.6 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005815/1.544, allocations: 73.97 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/1.544, allocations: 26 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/1.546, allocations: 1.651 MB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.546, allocations: 4.5 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/1.549, allocations: 1.019 MB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/1.549, allocations: 274.8 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/1.55, allocations: 26.19 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/1.55, allocations: 61.75 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/1.551, allocations: 69.17 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.695e-05/1.551, allocations: 37.05 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007962/1.551, allocations: 465.7 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.551, allocations: 4.438 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001537/1.553, allocations: 356.7 kB / 1.253 GB, free: 181.9 MB / 0.9981 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 (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.001727/1.555, allocations: 0.6235 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003307/1.558, allocations: 1.062 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.558, allocations: 0.9375 kB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/1.559, allocations: 0.531 MB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.561, allocations: 312.3 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/1.565, allocations: 1.738 MB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/1.565, allocations: 1.048 MB / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009657/1.566, allocations: 264.7 kB / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/1.567, allocations: 111.7 kB / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.567, allocations: 0 / 1.258 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.043/1.61, allocations: 15.79 MB / 1.274 GB, free: 177.4 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches