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.001269/0.001269, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001503/0.001503, allocations: 219.2 kB / 22.26 MB, free: 5.082 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.023 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.813/2.813, allocations: 476.7 MB / 0.7707 GB, free: 4.254 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.002025/0.002025, allocations: 71.47 kB / 1.117 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008152/0.3679, allocations: 5.256 MB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1838/0.5517, allocations: 154.2 MB / 1.439 GB, free: 11.47 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5527, allocations: 23.81 kB / 1.439 GB, free: 11.45 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.5533, allocations: 210 kB / 1.439 GB, free: 11.24 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.5554, allocations: 0.5823 MB / 1.44 GB, free: 10.66 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.5576, allocations: 0.9158 MB / 1.441 GB, free: 9.746 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.5596, allocations: 1.475 MB / 1.442 GB, free: 8.262 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008613/0.5605, allocations: 476.7 kB / 1.443 GB, free: 7.773 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009106/0.5614, allocations: 0.545 MB / 1.443 GB, free: 7.227 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007523/0.5621, allocations: 0.5577 MB / 1.444 GB, free: 6.668 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.5623, allocations: 135.9 kB / 1.444 GB, free: 6.535 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.5635, allocations: 0.5348 MB / 1.444 GB, free: 6 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.5639, allocations: 330.9 kB / 1.445 GB, free: 5.676 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005648/0.5644, allocations: 0.6141 MB / 1.445 GB, free: 5.059 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.5667, allocations: 1.809 MB / 1.447 GB, free: 3.242 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5667, allocations: 0 / 1.447 GB, free: 3.242 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5667, allocations: 3.938 kB / 1.447 GB, free: 3.238 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.5668, allocations: 0 / 1.447 GB, free: 3.238 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.002779/0.5695, allocations: 1.504 MB / 1.449 GB, free: 1.699 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5696, allocations: 12.03 kB / 1.449 GB, free: 1.688 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.5698, allocations: 152.2 kB / 1.449 GB, free: 1.531 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.5715, allocations: 271.9 kB / 1.449 GB, free: 1.266 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.5728, allocations: 0.7412 MB / 1.45 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.5729, allocations: 70 kB / 1.45 GB, free: 436 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.573, allocations: 92 kB / 1.45 GB, free: 344 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.5747, allocations: 1.02 MB / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5747, allocations: 0 / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-05/0.5748, allocations: 44 kB / 1.451 GB, free: 15.23 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.5749, allocations: 24 kB / 1.451 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.5768, allocations: 1.171 MB / 1.452 GB, free: 14.04 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.00461/0.5814, allocations: 2.896 MB / 1.455 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.5831, allocations: 0.794 MB / 1.456 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.5837, allocations: 282.7 kB / 1.456 GB, free: 9.938 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004966/0.5842, allocations: 92.59 kB / 1.456 GB, free: 9.848 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000935/0.5851, allocations: 0.5072 MB / 1.457 GB, free: 9.32 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.104e-06/0.5851, allocations: 0 / 1.457 GB, free: 9.32 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003414/0.5885, allocations: 1.17 MB / 1.458 GB, free: 8.141 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5886, allocations: 188.6 kB / 1.458 GB, free: 7.914 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000931/0.5896, allocations: 0.6646 MB / 1.459 GB, free: 7.238 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.072e-05/0.5896, allocations: 45.7 kB / 1.459 GB, free: 7.188 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.5901, allocations: 437 kB / 1.459 GB, free: 6.754 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.5903, allocations: 277.6 kB / 1.459 GB, free: 6.48 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.5905, allocations: 154.6 kB / 1.459 GB, free: 6.32 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.5908, allocations: 390.8 kB / 1.46 GB, free: 5.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.5913, allocations: 257.9 kB / 1.46 GB, free: 5.68 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.5919, allocations: 370.5 kB / 1.46 GB, free: 5.297 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5931, allocations: 0.5994 MB / 1.461 GB, free: 4.688 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5931, allocations: 4 kB / 1.461 GB, free: 4.684 MB / 1.154 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001991/0.5951, allocations: 0.8374 MB / 1.462 GB, free: 3.836 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.5951, allocations: 6.031 kB / 1.462 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5951, allocations: 0 / 1.462 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.5958, allocations: 84.86 kB / 1.462 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.5964, allocations: 155.7 kB / 1.462 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.5988, allocations: 1.541 MB / 1.464 GB, free: 1.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.5995, allocations: 87.55 kB / 1.464 GB, free: 1.844 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.5996, allocations: 28.05 kB / 1.464 GB, free: 1.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.0004676/0.6, allocations: 277.6 kB / 1.464 GB, free: 1.535 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.6002, allocations: 95.39 kB / 1.464 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.6027, allocations: 1.105 MB / 1.465 GB, free: 328 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.6027, allocations: 12 kB / 1.465 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6027, allocations: 0 / 1.465 GB, free: 316 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6027, allocations: 3.984 kB / 1.465 GB, free: 312 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.6062, allocations: 1.997 MB / 1.467 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6062, allocations: 0 / 1.467 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.6068, allocations: 147.8 kB / 1.467 GB, free: 14.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.6072, allocations: 72.78 kB / 1.467 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.6073, allocations: 23.98 kB / 1.467 GB, free: 14.01 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.6093, allocations: 1.558 MB / 1.469 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6093, allocations: 32 / 1.469 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.6114, allocations: 1.03 MB / 1.47 GB, free: 11.29 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.6118, allocations: 203.1 kB / 1.47 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.612, allocations: 19.95 kB / 1.47 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.6126, allocations: 67.92 kB / 1.47 GB, free: 11 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.6128, allocations: 80.94 kB / 1.47 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.6128, allocations: 44.02 kB / 1.47 GB, free: 10.88 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006256/0.6135, allocations: 487 kB / 1.471 GB, free: 10.41 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6135, allocations: 0 / 1.471 GB, free: 10.41 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009395/0.6144, allocations: 359 kB / 1.471 GB, free: 10.06 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.004271/0.6187, allocations: 2.094 MB / 1.473 GB, free: 8.117 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.6205, allocations: 0.7921 MB / 1.474 GB, free: 7.312 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6205, allocations: 0 / 1.474 GB, free: 7.312 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009378/0.6214, allocations: 0.5082 MB / 1.474 GB, free: 6.793 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6226, allocations: 304 kB / 1.475 GB, free: 6.516 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.6337, allocations: 6.519 MB / 1.481 GB, free: 15.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.6345, allocations: 1.043 MB / 1.482 GB, free: 14.77 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008679/0.6354, allocations: 278.9 kB / 1.482 GB, free: 14.49 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.636, allocations: 419.3 kB / 1.483 GB, free: 14.08 MB / 1.186 GB Notification: Performance of SimCode: time 8.32e-07/0.636, allocations: 0 / 1.483 GB, free: 14.08 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06435/0.7003, allocations: 23.42 MB / 1.506 GB, free: 6.914 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.53, allocations: 4 kB / 1.506 GB, free: 6.91 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.526766601000418]