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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001248/0.001248, allocations: 192 kB / 16.14 MB, free: 6.711 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 65.3 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006688/0.3476, allocations: 5.178 MB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.5171, allocations: 148.4 MB / 1.202 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.519, allocations: 11.94 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.5206, allocations: 166.8 kB / 1.202 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.5235, allocations: 484.7 kB / 1.203 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.5263, allocations: 0.7464 MB / 1.203 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002154/0.5284, allocations: 1.354 MB / 1.205 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.5297, allocations: 0.6432 MB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.5308, allocations: 462.1 kB / 1.206 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.5317, allocations: 0.5094 MB / 1.206 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.5319, allocations: 64 kB / 1.206 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.533, allocations: 431.6 kB / 1.207 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.5333, allocations: 258.9 kB / 1.207 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006438/0.5339, allocations: 0.5439 MB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.5357, allocations: 1.655 MB / 1.209 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5357, allocations: 3.984 kB / 1.209 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5357, allocations: 0 / 1.209 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.5357, allocations: 0 / 1.209 GB, free: 7.359 MB / 0.9669 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.002844/0.5386, allocations: 1.504 MB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.5387, allocations: 8.031 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.5398, allocations: 219.3 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5409, allocations: 0.7615 MB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.541, allocations: 70 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.5411, allocations: 95.94 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.5429, allocations: 1.02 MB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5429, allocations: 0 / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.543, allocations: 40 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.543, allocations: 20 kB / 1.213 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.5449, allocations: 1.179 MB / 1.214 GB, free: 2.324 MB / 0.9669 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.004594/0.5495, allocations: 2.965 MB / 1.217 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.5512, allocations: 0.912 MB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/0.5517, allocations: 322.6 kB / 1.218 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006884/0.5524, allocations: 470.2 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.5535, allocations: 0.4953 MB / 1.219 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 4.118e-06/0.5535, allocations: 0 / 1.219 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003576/0.5571, allocations: 1.237 MB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.5572, allocations: 192.6 kB / 1.22 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00097/0.5582, allocations: 0.6488 MB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/0.5583, allocations: 41.7 kB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.5588, allocations: 424.3 kB / 1.221 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.5591, allocations: 260.2 kB / 1.222 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.5594, allocations: 170.4 kB / 1.222 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.5596, allocations: 390.7 kB / 1.222 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.5602, allocations: 277.8 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.5609, allocations: 375.1 kB / 1.223 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.5623, allocations: 0.6307 MB / 1.224 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5623, allocations: 0 / 1.224 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002094/0.5644, allocations: 0.8722 MB / 1.224 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5645, allocations: 9.094 kB / 1.224 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.5645, allocations: 0 / 1.224 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.5651, allocations: 88.8 kB / 1.224 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.5659, allocations: 163.8 kB / 1.225 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.5684, allocations: 1.533 MB / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.5693, allocations: 99.25 kB / 1.226 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.5694, allocations: 35.97 kB / 1.226 GB, free: 5.223 MB / 0.9825 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.0005259/0.57, allocations: 280.8 kB / 1.226 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.5701, allocations: 83.16 kB / 1.227 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.5727, allocations: 1.101 MB / 1.228 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5727, allocations: 15.94 kB / 1.228 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.5727, allocations: 0 / 1.228 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5727, allocations: 7.984 kB / 1.228 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/0.5762, allocations: 1.993 MB / 1.23 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5762, allocations: 4 kB / 1.23 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.5769, allocations: 147.8 kB / 1.23 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005302/0.5774, allocations: 88.77 kB / 1.23 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/0.5775, allocations: 23.98 kB / 1.23 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.5796, allocations: 1.548 MB / 1.231 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5796, allocations: 3.938 kB / 1.231 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.5818, allocations: 1.019 MB / 1.232 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.5823, allocations: 275.7 kB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.5825, allocations: 24 kB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007859/0.5833, allocations: 67.92 kB / 1.233 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.5834, allocations: 72.89 kB / 1.233 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/0.5835, allocations: 31.98 kB / 1.233 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006833/0.5842, allocations: 471 kB / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5842, allocations: 0 / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00116/0.5854, allocations: 359 kB / 1.234 GB, free: 13.38 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.001601/0.587, allocations: 0.6245 MB / 1.234 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.5891, allocations: 0.847 MB / 1.235 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5891, allocations: 0 / 1.235 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5901, allocations: 0.5354 MB / 1.236 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.5915, allocations: 273.9 kB / 1.236 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.5953, allocations: 2.186 MB / 1.238 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/0.5961, allocations: 1.039 MB / 1.239 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009632/0.597, allocations: 270.8 kB / 1.239 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.5974, allocations: 107.4 kB / 1.239 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.5974, allocations: 4 kB / 1.239 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of Templates: time 0.5867/1.184, allocations: 15.13 MB / 1.254 GB, free: 191.9 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