Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.7 MB / 0.7672 GB, free: 5.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 75.89 kB / 1.112 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8169, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00743/0.8244, allocations: 5.225 MB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1789/1.003, allocations: 154.1 MB / 1.434 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009418/1.004, allocations: 19.88 kB / 1.434 GB, free: 13.43 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008405/1.005, allocations: 202.1 kB / 1.434 GB, free: 13.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/1.007, allocations: 0.5952 MB / 1.435 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/1.01, allocations: 0.8801 MB / 1.435 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002021/1.012, allocations: 1.479 MB / 1.437 GB, free: 10.28 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/1.013, allocations: 484.5 kB / 1.437 GB, free: 9.785 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009507/1.014, allocations: 0.545 MB / 1.438 GB, free: 9.238 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008569/1.015, allocations: 0.5562 MB / 1.438 GB, free: 8.68 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/1.015, allocations: 132 kB / 1.439 GB, free: 8.551 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/1.016, allocations: 0.5386 MB / 1.439 GB, free: 8.012 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/1.016, allocations: 326.9 kB / 1.439 GB, free: 7.691 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007669/1.017, allocations: 0.6102 MB / 1.44 GB, free: 7.078 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002462/1.02, allocations: 1.813 MB / 1.442 GB, free: 5.258 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.02, allocations: 0 / 1.442 GB, free: 5.258 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.272e-06/1.02, allocations: 0 / 1.442 GB, free: 5.258 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.85e-05/1.02, allocations: 0 / 1.442 GB, free: 5.258 MB / 1.139 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.002739/1.022, allocations: 1.58 MB / 1.443 GB, free: 3.617 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.022, allocations: 8.031 kB / 1.443 GB, free: 3.609 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/1.023, allocations: 148.2 kB / 1.443 GB, free: 3.457 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/1.025, allocations: 267.9 kB / 1.444 GB, free: 3.195 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.026, allocations: 0.8096 MB / 1.445 GB, free: 2.344 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/1.026, allocations: 70 kB / 1.445 GB, free: 2.273 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.026, allocations: 92 kB / 1.445 GB, free: 2.184 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/1.028, allocations: 1.016 MB / 1.446 GB, free: 1.129 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/1.028, allocations: 4 kB / 1.446 GB, free: 1.125 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/1.028, allocations: 47.98 kB / 1.446 GB, free: 1.078 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/1.028, allocations: 24 kB / 1.446 GB, free: 1.055 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/1.03, allocations: 1.171 MB / 1.447 GB, free: 15.88 MB / 1.154 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.004576/1.035, allocations: 2.954 MB / 1.45 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/1.036, allocations: 0.8708 MB / 1.451 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/1.037, allocations: 286.7 kB / 1.451 GB, free: 11.63 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/1.038, allocations: 474.1 kB / 1.451 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000963/1.039, allocations: 0.507 MB / 1.452 GB, free: 10.55 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/1.039, allocations: 3.938 kB / 1.452 GB, free: 10.55 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.00351/1.042, allocations: 1.241 MB / 1.453 GB, free: 9.277 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.042, allocations: 188.6 kB / 1.453 GB, free: 9.051 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009346/1.043, allocations: 0.6646 MB / 1.454 GB, free: 8.375 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/1.043, allocations: 45.7 kB / 1.454 GB, free: 8.324 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/1.044, allocations: 441 kB / 1.454 GB, free: 7.887 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/1.044, allocations: 273.7 kB / 1.455 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/1.044, allocations: 158.5 kB / 1.455 GB, free: 7.457 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002055/1.044, allocations: 390.8 kB / 1.455 GB, free: 7.066 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/1.045, allocations: 253.9 kB / 1.455 GB, free: 6.816 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/1.046, allocations: 374.5 kB / 1.456 GB, free: 6.426 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/1.047, allocations: 0.5994 MB / 1.456 GB, free: 5.816 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.047, allocations: 0 / 1.456 GB, free: 5.816 MB / 1.154 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00213/1.049, allocations: 0.8412 MB / 1.457 GB, free: 4.961 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.049, allocations: 4 kB / 1.457 GB, free: 4.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.049, allocations: 0 / 1.457 GB, free: 4.957 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/1.05, allocations: 88.86 kB / 1.457 GB, free: 4.867 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/1.05, allocations: 147.8 kB / 1.457 GB, free: 4.723 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/1.053, allocations: 1.642 MB / 1.459 GB, free: 2.938 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/1.053, allocations: 90.5 kB / 1.459 GB, free: 2.852 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/1.054, allocations: 36.03 kB / 1.459 GB, free: 2.816 MB / 1.154 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.0004961/1.054, allocations: 276 kB / 1.459 GB, free: 2.539 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/1.054, allocations: 95.39 kB / 1.459 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/1.057, allocations: 1.101 MB / 1.461 GB, free: 1.328 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.057, allocations: 11.98 kB / 1.461 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/1.057, allocations: 0 / 1.461 GB, free: 1.316 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.057, allocations: 3.984 kB / 1.461 GB, free: 1.312 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/1.061, allocations: 2.013 MB / 1.463 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.061, allocations: 3.984 kB / 1.463 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/1.061, allocations: 159.7 kB / 1.463 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.062, allocations: 72.73 kB / 1.463 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/1.062, allocations: 27.97 kB / 1.463 GB, free: 14.97 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/1.064, allocations: 1.658 MB / 1.464 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.064, allocations: 4.062 kB / 1.464 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/1.066, allocations: 1.026 MB / 1.465 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/1.067, allocations: 284.1 kB / 1.466 GB, free: 11.83 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.067, allocations: 31.98 kB / 1.466 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/1.067, allocations: 62.12 kB / 1.466 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/1.068, allocations: 72.83 kB / 1.466 GB, free: 11.67 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/1.068, allocations: 35.98 kB / 1.466 GB, free: 11.63 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007169/1.068, allocations: 487 kB / 1.466 GB, free: 11.16 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.068, allocations: 0 / 1.466 GB, free: 11.16 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001015/1.069, allocations: 359 kB / 1.467 GB, free: 10.81 MB / 1.17 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.00461/1.074, allocations: 2.108 MB / 1.469 GB, free: 8.855 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.076, allocations: 0.7883 MB / 1.47 GB, free: 8.059 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.076, allocations: 0 / 1.47 GB, free: 8.059 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/1.077, allocations: 0.5042 MB / 1.47 GB, free: 7.543 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.078, allocations: 301.5 kB / 1.47 GB, free: 7.266 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.091, allocations: 6.519 MB / 1.477 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/1.091, allocations: 1.047 MB / 1.478 GB, free: 15.51 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008924/1.092, allocations: 271 kB / 1.478 GB, free: 15.24 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/1.093, allocations: 419.2 kB / 1.478 GB, free: 14.83 MB / 1.186 GB Notification: Performance of SimCode: time 8.32e-07/1.093, allocations: 0 / 1.478 GB, free: 14.83 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0656/1.159, allocations: 22.86 MB / 1.501 GB, free: 8.312 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.82, allocations: 12.48 kB / 1.501 GB, free: 8.309 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR [Calling sys.exit(0), Time elapsed: 21.005742945941165]