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.001426/0.001426, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.002139/0.002139, allocations: 168.7 kB / 15.95 MB, free: 204 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.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.871/2.871, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005354, allocations: 8.219 kB / 0.9021 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4721/0.4726, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006387/0.479, allocations: 4.475 MB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1947/0.6738, allocations: 136.9 MB / 1.196 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009768/0.6749, allocations: 19.88 kB / 1.196 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.6755, allocations: 150.8 kB / 1.196 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.6771, allocations: 471.2 kB / 1.197 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.6792, allocations: 0.6695 MB / 1.197 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.6811, allocations: 1.257 MB / 1.199 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000893/0.682, allocations: 0.4998 MB / 1.199 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.6828, allocations: 362.4 kB / 1.199 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.6834, allocations: 394 kB / 1.2 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/0.6835, allocations: 32 kB / 1.2 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009557/0.6845, allocations: 355.6 kB / 1.2 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.6847, allocations: 183.1 kB / 1.2 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.6849, allocations: 221.1 kB / 1.201 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.6865, allocations: 1.259 MB / 1.202 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.6865, allocations: 0 / 1.202 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6866, allocations: 0 / 1.202 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.6866, allocations: 0 / 1.202 GB, free: 1.68 MB / 0.9512 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.002487/0.6891, allocations: 1.282 MB / 1.203 GB, free: 360 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6891, allocations: 8.031 kB / 1.203 GB, free: 352 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6902, allocations: 226.3 kB / 1.203 GB, free: 124 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6913, allocations: 0.7419 MB / 1.204 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.458e-05/0.6914, allocations: 66 kB / 1.204 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.6915, allocations: 100 kB / 1.204 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.6934, allocations: 1.004 MB / 1.205 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6934, allocations: 4 kB / 1.205 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.6935, allocations: 40 kB / 1.205 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.6935, allocations: 24 kB / 1.205 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.6956, allocations: 1.178 MB / 1.206 GB, free: 12.88 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.004541/0.7001, allocations: 2.994 MB / 1.209 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.7018, allocations: 0.9197 MB / 1.21 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.7023, allocations: 314.7 kB / 1.21 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.703, allocations: 478.1 kB / 1.211 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.7041, allocations: 0.4958 MB / 1.211 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 3.566e-06/0.7041, allocations: 4 kB / 1.211 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.003402/0.7075, allocations: 1.24 MB / 1.213 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/0.7077, allocations: 196.6 kB / 1.213 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009427/0.7087, allocations: 0.6449 MB / 1.213 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.7088, allocations: 37.7 kB / 1.213 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.7092, allocations: 428.3 kB / 1.214 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.7094, allocations: 260.2 kB / 1.214 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.7095, allocations: 16 kB / 1.214 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.7097, allocations: 386.8 kB / 1.215 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.7102, allocations: 281.8 kB / 1.215 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.7109, allocations: 371.1 kB / 1.215 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.7116, allocations: 322.8 kB / 1.215 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.7116, allocations: 4 kB / 1.215 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001925/0.7136, allocations: 0.8799 MB / 1.216 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.7136, allocations: 8 kB / 1.216 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.7136, allocations: 4.062 kB / 1.216 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.7141, allocations: 84.8 kB / 1.216 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.7149, allocations: 171.8 kB / 1.217 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.7169, allocations: 1.522 MB / 1.218 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/0.7178, allocations: 111.3 kB / 1.218 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.7179, allocations: 35.97 kB / 1.218 GB, free: 216 kB / 0.9669 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 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0005457/0.7184, allocations: 284.8 kB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.7186, allocations: 86.95 kB / 1.219 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.7211, allocations: 1.104 MB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.7211, allocations: 8 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7211, allocations: 3.953 kB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.7211, allocations: 11.97 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.7245, allocations: 2 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7245, allocations: 4.047 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.7251, allocations: 159.7 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.7256, allocations: 84.77 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.7257, allocations: 27.97 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.7275, allocations: 1.54 MB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7275, allocations: 3.938 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.7295, allocations: 1.023 MB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.73, allocations: 287.7 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.7301, allocations: 16 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.7308, allocations: 83.92 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.7309, allocations: 84.78 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.731, allocations: 31.97 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007378/0.7317, allocations: 459 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7318, allocations: 4 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001145/0.7329, allocations: 351.1 kB / 1.226 GB, free: 8.332 MB / 0.9825 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.001515/0.7344, allocations: 0.6169 MB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.7365, allocations: 0.8548 MB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7365, allocations: 0 / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.7374, allocations: 0.5392 MB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.7387, allocations: 272.4 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.7424, allocations: 2.145 MB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.7431, allocations: 1.039 MB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001024/0.7441, allocations: 274.7 kB / 1.231 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.7445, allocations: 111.4 kB / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of SimCode: time 1.883e-06/0.7445, allocations: 0 / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of Templates: time 0.0292/0.7737, allocations: 14.6 MB / 1.246 GB, free: 4.195 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