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.008589/0.008589, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001686/0.001686, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 61.05 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3333, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007206/0.3405, allocations: 5.169 MB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.5096, allocations: 148.4 MB / 1.203 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.5108, allocations: 19.88 kB / 1.203 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.5118, allocations: 150.8 kB / 1.203 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.5141, allocations: 492.6 kB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.5165, allocations: 0.7479 MB / 1.204 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.5185, allocations: 1.354 MB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.5198, allocations: 0.6276 MB / 1.206 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000967/0.5208, allocations: 474.1 kB / 1.206 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009544/0.5218, allocations: 0.5055 MB / 1.207 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.5221, allocations: 64 kB / 1.207 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.5234, allocations: 431.6 kB / 1.207 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.5238, allocations: 258.9 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008293/0.5247, allocations: 0.5478 MB / 1.208 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.5262, allocations: 1.282 MB / 1.209 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.5263, allocations: 0 / 1.209 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5263, allocations: 4 kB / 1.209 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.5263, allocations: 0 / 1.209 GB, free: 7.188 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.002677/0.529, allocations: 1.504 MB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.529, allocations: 11.97 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5302, allocations: 219.3 kB / 1.211 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5312, allocations: 0.7615 MB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.5313, allocations: 74 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5314, allocations: 95.94 kB / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.5331, allocations: 1.012 MB / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.5332, allocations: 3.938 kB / 1.213 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.5332, allocations: 47.98 kB / 1.213 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.5333, allocations: 24 kB / 1.213 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.5352, allocations: 1.171 MB / 1.214 GB, free: 2.141 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.004314/0.5395, allocations: 2.965 MB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.5411, allocations: 0.9173 MB / 1.218 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/0.5417, allocations: 310.7 kB / 1.218 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.5424, allocations: 478.1 kB / 1.219 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009732/0.5433, allocations: 0.4952 MB / 1.219 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.324e-06/0.5434, allocations: 0 / 1.219 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003336/0.5467, allocations: 1.237 MB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.5468, allocations: 200.5 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.5477, allocations: 0.6449 MB / 1.221 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.5478, allocations: 45.7 kB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.5481, allocations: 416.3 kB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.5483, allocations: 264.2 kB / 1.222 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.5486, allocations: 174.4 kB / 1.222 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5488, allocations: 390.8 kB / 1.223 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.5493, allocations: 277.8 kB / 1.223 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.55, allocations: 375.1 kB / 1.223 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.5512, allocations: 0.6228 MB / 1.224 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5512, allocations: 4 kB / 1.224 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002/0.5532, allocations: 0.8799 MB / 1.225 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5532, allocations: 4 kB / 1.225 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5532, allocations: 0 / 1.225 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.5538, allocations: 84.86 kB / 1.225 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.5545, allocations: 159.8 kB / 1.225 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.5567, allocations: 1.536 MB / 1.226 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.5575, allocations: 95.31 kB / 1.226 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.5576, allocations: 35.97 kB / 1.227 GB, free: 5.043 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.0004948/0.5581, allocations: 279.4 kB / 1.227 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5582, allocations: 86.91 kB / 1.227 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.5607, allocations: 1.097 MB / 1.228 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5607, allocations: 19.88 kB / 1.228 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.5607, allocations: 0 / 1.228 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.5607, allocations: 3.984 kB / 1.228 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.564, allocations: 2.001 MB / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.564, allocations: 0 / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.5646, allocations: 147.8 kB / 1.23 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/0.5651, allocations: 80.77 kB / 1.23 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.5652, allocations: 27.98 kB / 1.23 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.567, allocations: 1.548 MB / 1.232 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.567, allocations: 3.969 kB / 1.232 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.5691, allocations: 1.012 MB / 1.233 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/0.5695, allocations: 283.7 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.5697, allocations: 23.94 kB / 1.233 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.5703, allocations: 65.33 kB / 1.233 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.5705, allocations: 72.89 kB / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.5706, allocations: 36.12 kB / 1.233 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005768/0.5712, allocations: 463 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5712, allocations: 4 kB / 1.234 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009441/0.5721, allocations: 363 kB / 1.234 GB, free: 13.21 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.001421/0.5736, allocations: 0.621 MB / 1.235 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.5754, allocations: 0.8509 MB / 1.235 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5754, allocations: 0 / 1.235 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009545/0.5764, allocations: 0.5276 MB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.5776, allocations: 282.7 kB / 1.236 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.5812, allocations: 2.228 MB / 1.238 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.5819, allocations: 1.039 MB / 1.239 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.5822, allocations: 119.4 kB / 1.239 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.5823, allocations: 0 / 1.239 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of Templates: time 0.5777/1.16, allocations: 19.52 MB / 1.259 GB, free: 187.2 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/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