Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0013/0.0013, allocations: 87.11 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.001586/0.001586, 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.488/1.488, 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 9.1.2-maint.9.1.x/package.mo): time 2.634/2.634, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 8 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7975, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004898/0.8025, allocations: 3.805 MB / 0.9581 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1578/0.9604, allocations: 136.8 MB / 1.092 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00071/0.9611, allocations: 15.94 kB / 1.092 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.9616, allocations: 130.9 kB / 1.092 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.9628, allocations: 426.3 kB / 1.092 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.9644, allocations: 0.6523 MB / 1.093 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.9655, allocations: 1.137 MB / 1.094 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007186/0.9662, allocations: 0.5501 MB / 1.095 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.9667, allocations: 342.4 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.9671, allocations: 377.9 kB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.9672, allocations: 28 kB / 1.095 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.9679, allocations: 355.7 kB / 1.096 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.9681, allocations: 195.1 kB / 1.096 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.9683, allocations: 209.1 kB / 1.096 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.9694, allocations: 1.224 MB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.9694, allocations: 0 / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9694, allocations: 4 kB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.9695, allocations: 0 / 1.097 GB, free: 12.83 MB / 0.8575 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.002053/0.9715, allocations: 1.268 MB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.9716, allocations: 11.97 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000969/0.9725, allocations: 222.4 kB / 1.099 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.9735, allocations: 0.7264 MB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.9736, allocations: 70 kB / 1.099 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.9737, allocations: 92 kB / 1.1 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.9754, allocations: 1.016 MB / 1.101 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.9754, allocations: 4 kB / 1.101 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.9755, allocations: 47.94 kB / 1.101 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.9755, allocations: 24 kB / 1.101 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.9774, allocations: 1.175 MB / 1.102 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/0.9817, allocations: 2.723 MB / 1.104 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.9833, allocations: 0.9147 MB / 1.105 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.9839, allocations: 310.7 kB / 1.106 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/0.9845, allocations: 474.1 kB / 1.106 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009163/0.9855, allocations: 0.4991 MB / 1.107 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.9855, allocations: 0 / 1.107 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.002939/0.9884, allocations: 1.234 MB / 1.108 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.9885, allocations: 196.5 kB / 1.108 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.9894, allocations: 0.641 MB / 1.109 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.9895, allocations: 49.58 kB / 1.109 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.9898, allocations: 424.2 kB / 1.109 GB, free: 312 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.99, allocations: 264.2 kB / 1.109 GB, free: 44 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.9901, allocations: 16 kB / 1.109 GB, free: 28 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.9903, allocations: 390.8 kB / 1.11 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.9908, allocations: 273.8 kB / 1.11 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.9914, allocations: 375.1 kB / 1.11 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005571/0.992, allocations: 318.9 kB / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.992, allocations: 3.938 kB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001772/0.9938, allocations: 0.8683 MB / 1.111 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9938, allocations: 8 kB / 1.111 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.9938, allocations: 3.953 kB / 1.111 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.9943, allocations: 76.88 kB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.995, allocations: 175.8 kB / 1.112 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.9968, allocations: 1.524 MB / 1.113 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.9974, allocations: 107.4 kB / 1.113 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.9975, allocations: 35.97 kB / 1.113 GB, free: 11.73 MB / 0.8731 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.0003985/0.9979, allocations: 273.4 kB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.998, allocations: 82.97 kB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/1, allocations: 1.112 MB / 1.115 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1, allocations: 8 kB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/1, allocations: 4 kB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1, allocations: 7.984 kB / 1.115 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/1.003, allocations: 2.001 MB / 1.117 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.003, allocations: 0 / 1.117 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/1.004, allocations: 151.8 kB / 1.117 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/1.004, allocations: 88.7 kB / 1.117 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/1.005, allocations: 35.92 kB / 1.117 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/1.006, allocations: 1.536 MB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.006, allocations: 7.969 kB / 1.119 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/1.008, allocations: 1.023 MB / 1.12 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/1.008, allocations: 287.7 kB / 1.12 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.009, allocations: 16 kB / 1.12 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/1.009, allocations: 87.36 kB / 1.12 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.009, allocations: 76.89 kB / 1.12 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/1.009, allocations: 31.98 kB / 1.12 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005626/1.01, allocations: 467 kB / 1.12 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.01, allocations: 0 / 1.12 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009025/1.011, allocations: 343.1 kB / 1.121 GB, free: 3.875 MB / 0.8731 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.001304/1.012, allocations: 0.6152 MB / 1.121 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00162/1.014, allocations: 0.8507 MB / 1.122 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.014, allocations: 4 kB / 1.122 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009229/1.015, allocations: 0.5315 MB / 1.123 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/1.016, allocations: 267.8 kB / 1.123 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/1.02, allocations: 2.293 MB / 1.125 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/1.02, allocations: 1.041 MB / 1.126 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008924/1.021, allocations: 270.7 kB / 1.126 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/1.022, allocations: 107.4 kB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of SimCode: time 8.22e-07/1.022, allocations: 0 / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of Templates: time 0.02491/1.047, allocations: 14.11 MB / 1.14 GB, free: 56 kB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches