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.001321/0.001321, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00135/0.00135, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.59 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3505, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006984/0.3576, allocations: 5.17 MB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.9317/1.289, allocations: 150.7 MB / 1.179 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/1.291, allocations: 15.34 kB / 1.179 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007225/1.291, allocations: 204.4 kB / 1.179 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002364/1.294, allocations: 0.5624 MB / 1.18 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/1.296, allocations: 0.8694 MB / 1.181 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002297/1.299, allocations: 1.447 MB / 1.182 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/1.3, allocations: 0.6573 MB / 1.183 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/1.301, allocations: 0.5241 MB / 1.183 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007149/1.302, allocations: 0.543 MB / 1.184 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/1.302, allocations: 125.6 kB / 1.184 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/1.303, allocations: 0.5042 MB / 1.184 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/1.304, allocations: 315.1 kB / 1.185 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006512/1.304, allocations: 0.6085 MB / 1.185 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/1.307, allocations: 1.748 MB / 1.187 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/1.307, allocations: 7.938 kB / 1.187 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.316e-06/1.307, allocations: 1.156 kB / 1.187 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.779e-05/1.307, allocations: 0 / 1.187 GB, free: 1.371 MB / 0.8887 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.002978/1.31, allocations: 1.5 MB / 1.188 GB, free: 196 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.31, allocations: 13.03 kB / 1.188 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/1.311, allocations: 215.5 kB / 1.189 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.312, allocations: 0.7779 MB / 1.189 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/1.313, allocations: 71.91 kB / 1.189 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/1.313, allocations: 93.55 kB / 1.189 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/1.315, allocations: 1.012 MB / 1.19 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.315, allocations: 4.844 kB / 1.19 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/1.315, allocations: 41.09 kB / 1.19 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/1.315, allocations: 28.38 kB / 1.191 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/1.317, allocations: 1.175 MB / 1.192 GB, free: 14.14 MB / 0.9044 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.004873/1.322, allocations: 2.93 MB / 1.195 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.323, allocations: 0.9243 MB / 1.195 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/1.324, allocations: 324.1 kB / 1.196 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/1.325, allocations: 476.7 kB / 1.196 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000905/1.326, allocations: 0.495 MB / 1.197 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.545e-06/1.326, allocations: 0 / 1.197 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.00334/1.329, allocations: 1.236 MB / 1.198 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.329, allocations: 192.1 kB / 1.198 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/1.33, allocations: 0.6443 MB / 1.199 GB, free: 9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/1.33, allocations: 42.45 kB / 1.199 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/1.331, allocations: 420.5 kB / 1.199 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/1.331, allocations: 268.1 kB / 1.199 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/1.331, allocations: 174.9 kB / 1.2 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.331, allocations: 384.1 kB / 1.2 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/1.332, allocations: 280.4 kB / 1.2 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/1.333, allocations: 373.7 kB / 1.201 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.334, allocations: 0.6259 MB / 1.201 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.334, allocations: 2.094 kB / 1.201 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002048/1.336, allocations: 0.8739 MB / 1.202 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.336, allocations: 12.92 kB / 1.202 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/1.336, allocations: 0.875 kB / 1.202 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/1.337, allocations: 85.58 kB / 1.202 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/1.337, allocations: 166.8 kB / 1.202 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/1.34, allocations: 1.624 MB / 1.204 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/1.34, allocations: 101.7 kB / 1.204 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/1.341, allocations: 41.12 kB / 1.204 GB, free: 4.977 MB / 0.9044 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.0006502/1.341, allocations: 285.1 kB / 1.204 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/1.341, allocations: 82.5 kB / 1.204 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.344, allocations: 1.093 MB / 1.205 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.344, allocations: 13.66 kB / 1.205 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.344, allocations: 0 / 1.205 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.344, allocations: 7.969 kB / 1.205 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/1.348, allocations: 1.997 MB / 1.207 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.348, allocations: 0 / 1.207 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/1.348, allocations: 155.2 kB / 1.208 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/1.349, allocations: 70.86 kB / 1.208 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/1.349, allocations: 26.94 kB / 1.208 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.351, allocations: 1.658 MB / 1.209 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.351, allocations: 0 / 1.209 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/1.353, allocations: 1.02 MB / 1.21 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/1.354, allocations: 277.4 kB / 1.211 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/1.354, allocations: 21.62 kB / 1.211 GB, free: 228 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006515/1.354, allocations: 68.83 kB / 1.211 GB, free: 164 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.355, allocations: 68.91 kB / 1.211 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/1.355, allocations: 35.97 kB / 1.211 GB, free: 60 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006736/1.355, allocations: 467 kB / 1.211 GB, free: 15.61 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/1.355, allocations: 0 / 1.211 GB, free: 15.61 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001162/1.357, allocations: 359.1 kB / 1.211 GB, free: 15.26 MB / 0.92 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.001621/1.358, allocations: 0.6272 MB / 1.212 GB, free: 14.81 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.36, allocations: 0.8557 MB / 1.213 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.36, allocations: 0 / 1.213 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/1.361, allocations: 0.5354 MB / 1.213 GB, free: 13.39 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.362, allocations: 300.6 kB / 1.214 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/1.365, allocations: 1.724 MB / 1.215 GB, free: 11.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/1.366, allocations: 1.047 MB / 1.216 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008292/1.367, allocations: 262.8 kB / 1.217 GB, free: 10.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/1.367, allocations: 115.4 kB / 1.217 GB, free: 9.926 MB / 0.92 GB Notification: Performance of SimCode: time 1.162e-06/1.367, allocations: 0 / 1.217 GB, free: 9.926 MB / 0.92 GB Notification: Performance of Templates: time 0.0302/1.398, allocations: 15.78 MB / 1.232 GB, free: 10.35 MB / 0.9356 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 -s cvode -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/jenkins1/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