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.001854/0.001854, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002293/0.002293, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.66/1.66, allocations: 230.6 MB / 256 MB, free: 7.789 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.87/2.87, allocations: 476 MB / 0.7699 GB, free: 4.715 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.002113/0.002113, allocations: 69 kB / 1.117 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 169.9 MB / 1.283 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007604/0.3386, allocations: 4.669 MB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.5207, allocations: 132.8 MB / 1.417 GB, free: 10.24 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.5217, allocations: 23.81 kB / 1.417 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.5225, allocations: 218 kB / 1.417 GB, free: 10 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.5246, allocations: 0.5816 MB / 1.418 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.527, allocations: 0.8883 MB / 1.418 GB, free: 8.535 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.5291, allocations: 1.475 MB / 1.42 GB, free: 7.051 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.53, allocations: 456.7 kB / 1.42 GB, free: 6.578 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009032/0.5309, allocations: 0.5489 MB / 1.421 GB, free: 6.027 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007028/0.5316, allocations: 0.4976 MB / 1.421 GB, free: 5.527 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.5318, allocations: 131.9 kB / 1.421 GB, free: 5.398 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.533, allocations: 0.5074 MB / 1.422 GB, free: 4.891 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.5333, allocations: 319 kB / 1.422 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005801/0.5339, allocations: 0.5015 MB / 1.423 GB, free: 4.074 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.5372, allocations: 1.825 MB / 1.425 GB, free: 2.242 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5372, allocations: 0 / 1.425 GB, free: 2.242 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5372, allocations: 0 / 1.425 GB, free: 2.242 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.548e-05/0.5372, allocations: 4 kB / 1.425 GB, free: 2.238 MB / 1.123 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.004357/0.5416, allocations: 1.493 MB / 1.426 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.5416, allocations: 11.97 kB / 1.426 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/0.5419, allocations: 152.2 kB / 1.426 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.5449, allocations: 271.8 kB / 1.426 GB, free: 288 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.5472, allocations: 0.7299 MB / 1.427 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.5474, allocations: 77.94 kB / 1.427 GB, free: 15.44 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.5475, allocations: 91.94 kB / 1.427 GB, free: 15.35 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.5506, allocations: 1.271 MB / 1.429 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.5506, allocations: 0 / 1.429 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.5507, allocations: 44 kB / 1.429 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.5508, allocations: 24 kB / 1.429 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.554, allocations: 1.132 MB / 1.43 GB, free: 12.78 MB / 1.139 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.006856/0.5608, allocations: 2.388 MB / 1.432 GB, free: 10.33 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/0.5638, allocations: 0.801 MB / 1.433 GB, free: 9.52 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.5648, allocations: 282.6 kB / 1.433 GB, free: 9.242 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/0.5657, allocations: 88.55 kB / 1.433 GB, free: 9.156 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/0.5675, allocations: 0.5998 MB / 1.434 GB, free: 8.512 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 4.308e-06/0.5675, allocations: 0 / 1.434 GB, free: 8.512 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.006078/0.5736, allocations: 1.17 MB / 1.435 GB, free: 7.332 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.5738, allocations: 200.5 kB / 1.435 GB, free: 7.094 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.5754, allocations: 0.6723 MB / 1.436 GB, free: 6.41 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.5756, allocations: 41.7 kB / 1.436 GB, free: 6.363 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006477/0.5762, allocations: 441 kB / 1.436 GB, free: 5.926 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.5767, allocations: 281.7 kB / 1.436 GB, free: 5.648 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.5771, allocations: 142.6 kB / 1.437 GB, free: 5.5 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0003419/0.5774, allocations: 390.7 kB / 1.437 GB, free: 5.109 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.5785, allocations: 257.9 kB / 1.437 GB, free: 4.859 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.5799, allocations: 499.1 kB / 1.438 GB, free: 4.316 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.5821, allocations: 0.6073 MB / 1.438 GB, free: 3.699 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5821, allocations: 0 / 1.438 GB, free: 3.699 MB / 1.139 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003857/0.5859, allocations: 0.8452 MB / 1.439 GB, free: 2.844 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.586, allocations: 4 kB / 1.439 GB, free: 2.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.586, allocations: 0 / 1.439 GB, free: 2.84 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.587, allocations: 84.86 kB / 1.439 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.5883, allocations: 155.8 kB / 1.439 GB, free: 2.602 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.5921, allocations: 1.523 MB / 1.441 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.5934, allocations: 97.44 kB / 1.441 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.5936, allocations: 31.97 kB / 1.441 GB, free: 0.8281 MB / 1.139 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.0008941/0.5945, allocations: 277.8 kB / 1.441 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/0.5949, allocations: 91.39 kB / 1.441 GB, free: 468 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004941/0.5998, allocations: 1.093 MB / 1.442 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.5999, allocations: 16 kB / 1.442 GB, free: 15.34 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5999, allocations: 4 kB / 1.442 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.5999, allocations: 3.984 kB / 1.442 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00698/0.6069, allocations: 1.864 MB / 1.444 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6069, allocations: 0 / 1.444 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.6081, allocations: 147.8 kB / 1.444 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008538/0.6089, allocations: 76.78 kB / 1.444 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.6091, allocations: 27.97 kB / 1.444 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003987/0.6131, allocations: 1.551 MB / 1.446 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.6131, allocations: 3.938 kB / 1.446 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/0.6177, allocations: 1.022 MB / 1.447 GB, free: 10.45 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.6188, allocations: 211 kB / 1.447 GB, free: 10.24 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.6191, allocations: 16 kB / 1.447 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.6205, allocations: 71.92 kB / 1.447 GB, free: 10.15 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.6208, allocations: 80.73 kB / 1.447 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.6209, allocations: 35.98 kB / 1.447 GB, free: 10.04 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001375/0.6223, allocations: 487 kB / 1.448 GB, free: 9.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6223, allocations: 0 / 1.448 GB, free: 9.57 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001918/0.6242, allocations: 355 kB / 1.448 GB, free: 9.223 MB / 1.154 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.008078/0.6323, allocations: 2.13 MB / 1.45 GB, free: 7.273 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.6355, allocations: 0.7924 MB / 1.451 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.6355, allocations: 0 / 1.451 GB, free: 6.469 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.6374, allocations: 0.5079 MB / 1.452 GB, free: 5.949 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.6399, allocations: 316.7 kB / 1.452 GB, free: 5.664 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/0.6612, allocations: 6.506 MB / 1.458 GB, free: 15 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.6622, allocations: 469.6 kB / 1.459 GB, free: 14.51 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001827/0.664, allocations: 270.8 kB / 1.459 GB, free: 14.24 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.6652, allocations: 415.2 kB / 1.459 GB, free: 13.84 MB / 1.17 GB Notification: Performance of SimCode: time 1.153e-06/0.6652, allocations: 4 kB / 1.459 GB, free: 13.83 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09262/0.7578, allocations: 24.43 MB / 1.483 GB, free: 5.754 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/14.96, allocations: 8 kB / 1.483 GB, free: 5.746 MB / 1.186 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: 22.29920391784981]