Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.366/2.366, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4973, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005835/0.5032, allocations: 5.163 MB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.634, allocations: 150.7 MB / 1.17 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.6348, allocations: 19.88 kB / 1.17 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.6354, allocations: 194.1 kB / 1.17 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.6372, allocations: 0.5778 MB / 1.17 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.639, allocations: 0.8632 MB / 1.171 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.6404, allocations: 1.44 MB / 1.173 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008449/0.6413, allocations: 0.6561 MB / 1.173 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006015/0.6419, allocations: 0.51 MB / 1.174 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.6425, allocations: 0.5504 MB / 1.174 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.6426, allocations: 124 kB / 1.174 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007386/0.6434, allocations: 487.6 kB / 1.175 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.6436, allocations: 323 kB / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.6441, allocations: 0.6024 MB / 1.176 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.6455, allocations: 1.714 MB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6455, allocations: 4 kB / 1.178 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6455, allocations: 4 kB / 1.178 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.6455, allocations: 0 / 1.178 GB, free: 13.9 MB / 0.9356 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.002141/0.6477, allocations: 1.504 MB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.6477, allocations: 8.031 kB / 1.179 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.6479, allocations: 156.1 kB / 1.179 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.6489, allocations: 211.3 kB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008741/0.6498, allocations: 0.7614 MB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.6498, allocations: 77.98 kB / 1.18 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.6499, allocations: 88 kB / 1.18 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6514, allocations: 1.012 MB / 1.181 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6514, allocations: 7.938 kB / 1.181 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.6515, allocations: 40 kB / 1.181 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.6515, allocations: 24 kB / 1.181 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.6533, allocations: 1.175 MB / 1.182 GB, free: 8.695 MB / 0.9356 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.003598/0.6569, allocations: 2.973 MB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.6584, allocations: 0.9234 MB / 1.186 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.6589, allocations: 306.8 kB / 1.187 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.6595, allocations: 478.1 kB / 1.187 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/0.6604, allocations: 0.5107 MB / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.6604, allocations: 0 / 1.187 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003081/0.6635, allocations: 1.233 MB / 1.189 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.6636, allocations: 192.6 kB / 1.189 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/0.6643, allocations: 0.641 MB / 1.19 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.6644, allocations: 41.7 kB / 1.19 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.6647, allocations: 428.2 kB / 1.19 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.6648, allocations: 264.2 kB / 1.19 GB, free: 388 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.665, allocations: 154.5 kB / 1.19 GB, free: 224 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6652, allocations: 386.8 kB / 1.191 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.6657, allocations: 253.9 kB / 1.191 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.6663, allocations: 378.5 kB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6674, allocations: 0.5994 MB / 1.192 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6674, allocations: 0 / 1.192 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001799/0.6692, allocations: 0.8292 MB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.6692, allocations: 4 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6692, allocations: 0 / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.6698, allocations: 88.8 kB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.6704, allocations: 159.7 kB / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.6723, allocations: 1.636 MB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.6729, allocations: 91.23 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.673, allocations: 31.97 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (88): * Single equations (assignments): 87 * 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.0003514/0.6734, allocations: 270.4 kB / 1.195 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.6735, allocations: 86.95 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.6758, allocations: 1.101 MB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.6759, allocations: 8 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.6759, allocations: 0 / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6759, allocations: 7.969 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.6789, allocations: 2.009 MB / 1.198 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6789, allocations: 0 / 1.198 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.6794, allocations: 155.7 kB / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.6799, allocations: 72.78 kB / 1.198 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.6799, allocations: 23.98 kB / 1.198 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.6816, allocations: 1.658 MB / 1.2 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6816, allocations: 8 kB / 1.2 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.6835, allocations: 1.016 MB / 1.201 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.6839, allocations: 279.8 kB / 1.201 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.684, allocations: 24 kB / 1.201 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.6847, allocations: 67.91 kB / 1.201 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6848, allocations: 72.84 kB / 1.201 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.6849, allocations: 35.97 kB / 1.201 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004929/0.6854, allocations: 471 kB / 1.202 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6854, allocations: 4 kB / 1.202 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007648/0.6861, allocations: 347 kB / 1.202 GB, free: 3.637 MB / 0.9512 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.003248/0.6894, allocations: 2.085 MB / 1.204 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.6916, allocations: 1.03 MB / 1.205 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6916, allocations: 192 / 1.205 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000873/0.6925, allocations: 0.5353 MB / 1.206 GB, free: 124 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6936, allocations: 304.8 kB / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009037/0.7027, allocations: 6.661 MB / 1.213 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.7032, allocations: 1.039 MB / 1.214 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007776/0.704, allocations: 282.8 kB / 1.214 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.7045, allocations: 411.3 kB / 1.214 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.7045, allocations: 0 / 1.214 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04374/0.7482, allocations: 22.19 MB / 1.236 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.02, allocations: 18.66 kB / 1.236 GB, free: 1.453 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR