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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_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.007782/0.007782, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.002015/0.002016, allocations: 197 kB / 16.67 MB, free: 5.973 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 65.58 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2582, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00564/0.2639, allocations: 4.409 MB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.14/0.404, allocations: 150.6 MB / 1.239 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.4047, allocations: 19.94 kB / 1.239 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.4052, allocations: 182.3 kB / 1.239 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.4066, allocations: 0.5139 MB / 1.24 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.4083, allocations: 0.8627 MB / 1.24 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.4093, allocations: 1.332 MB / 1.242 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.4101, allocations: 0.6985 MB / 1.242 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.4106, allocations: 0.506 MB / 1.243 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.4111, allocations: 0.5211 MB / 1.243 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.4112, allocations: 131.9 kB / 1.244 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007141/0.412, allocations: 0.5035 MB / 1.244 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.4122, allocations: 319 kB / 1.244 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004003/0.4126, allocations: 0.579 MB / 1.245 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.4142, allocations: 1.728 MB / 1.247 GB, free: 14.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4142, allocations: 0 / 1.247 GB, free: 14.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4142, allocations: 0 / 1.247 GB, free: 14.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.4142, allocations: 0 / 1.247 GB, free: 14.41 MB / 1.014 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.002254/0.4165, allocations: 1.525 MB / 1.248 GB, free: 12.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.4165, allocations: 8.031 kB / 1.248 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.4167, allocations: 156.2 kB / 1.248 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.4177, allocations: 220 kB / 1.248 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4188, allocations: 0.797 MB / 1.249 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.4188, allocations: 70 kB / 1.249 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.419, allocations: 92 kB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.4205, allocations: 1.012 MB / 1.25 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.4205, allocations: 4 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.4206, allocations: 47.97 kB / 1.25 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.4207, allocations: 24 kB / 1.25 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.4224, allocations: 1.171 MB / 1.252 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.426, allocations: 2.68 MB / 1.254 GB, free: 6.402 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.4276, allocations: 0.9049 MB / 1.255 GB, free: 5.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.4281, allocations: 310.7 kB / 1.255 GB, free: 5.172 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/0.4287, allocations: 478.1 kB / 1.256 GB, free: 4.613 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008179/0.4296, allocations: 0.4993 MB / 1.256 GB, free: 4.094 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.174e-06/0.4296, allocations: 0 / 1.256 GB, free: 4.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.002985/0.4326, allocations: 1.233 MB / 1.258 GB, free: 2.836 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.4327, allocations: 196.6 kB / 1.258 GB, free: 2.602 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/0.4333, allocations: 0.6411 MB / 1.258 GB, free: 1.953 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.4334, allocations: 41.7 kB / 1.258 GB, free: 1.906 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.4337, allocations: 433 kB / 1.259 GB, free: 1.477 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.4339, allocations: 273.7 kB / 1.259 GB, free: 1.207 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.4341, allocations: 154.6 kB / 1.259 GB, free: 1.047 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4342, allocations: 394.7 kB / 1.26 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/0.4347, allocations: 253.8 kB / 1.26 GB, free: 416 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.4353, allocations: 370.5 kB / 1.26 GB, free: 16 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4581/0.8935, allocations: 0.5927 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.8935, allocations: 1.922 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002018/0.8955, allocations: 0.8276 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.8956, allocations: 6.578 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8956, allocations: 0.8125 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.8962, allocations: 85.77 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.8968, allocations: 158.7 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.8987, allocations: 1.628 MB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.8993, allocations: 93.27 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.8994, allocations: 34.19 kB / 1.263 GB, free: 171.9 MB / 1.014 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.0004014/0.8998, allocations: 275.4 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.9, allocations: 87.75 kB / 1.264 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.9024, allocations: 1.097 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.9024, allocations: 9.562 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.9024, allocations: 4.875 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9024, allocations: 6.969 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.9057, allocations: 2.01 MB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9057, allocations: 3.719 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.9063, allocations: 156.5 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/0.9068, allocations: 72.56 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.9068, allocations: 25.91 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.9083, allocations: 1.661 MB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9083, allocations: 0 / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.9103, allocations: 1.022 MB / 1.27 GB, free: 168.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.9106, allocations: 285.3 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.9108, allocations: 18.42 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.9114, allocations: 62.28 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.9116, allocations: 73.23 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.9117, allocations: 36.81 kB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005934/0.9123, allocations: 474.3 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9123, allocations: 0 / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000884/0.9132, allocations: 339.2 kB / 1.271 GB, free: 168.1 MB / 1.014 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.003511/0.9167, allocations: 2.09 MB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.9186, allocations: 0.8234 MB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.9186, allocations: 4.562 kB / 1.274 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.9196, allocations: 0.5288 MB / 1.274 GB, free: 166.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.9208, allocations: 297.1 kB / 1.275 GB, free: 166.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.931, allocations: 6.537 MB / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.9315, allocations: 1.044 MB / 1.282 GB, free: 162.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008134/0.9324, allocations: 268.6 kB / 1.282 GB, free: 162.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.9329, allocations: 409 kB / 1.283 GB, free: 162 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/0.9329, allocations: 7.875 kB / 1.283 GB, free: 162 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.978, allocations: 21.93 MB / 1.304 GB, free: 154.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.71, allocations: 6.016 kB / 1.304 GB, free: 154.6 MB / 1.014 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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