Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001538/0.001538, allocations: 108.9 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.001718/0.001718, allocations: 216.2 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.224/3.224, allocations: 0.49 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_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.002036/0.002036, allocations: 66.61 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3673, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007861/0.3751, allocations: 5.231 MB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.5614, allocations: 154.1 MB / 1.476 GB, free: 3.41 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009907/0.5624, allocations: 23.81 kB / 1.476 GB, free: 3.387 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009068/0.5633, allocations: 198.1 kB / 1.477 GB, free: 3.191 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.5657, allocations: 0.5976 MB / 1.477 GB, free: 2.594 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.5683, allocations: 0.879 MB / 1.478 GB, free: 1.723 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.5706, allocations: 1.479 MB / 1.479 GB, free: 244 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009693/0.5715, allocations: 472.1 kB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008962/0.5724, allocations: 0.5528 MB / 1.48 GB, free: 15.2 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.5732, allocations: 0.5523 MB / 1.481 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.5734, allocations: 132 kB / 1.481 GB, free: 14.51 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.5747, allocations: 0.5386 MB / 1.482 GB, free: 13.97 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.5751, allocations: 323 kB / 1.482 GB, free: 13.66 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007144/0.5758, allocations: 0.6141 MB / 1.483 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.5784, allocations: 1.813 MB / 1.484 GB, free: 11.22 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5784, allocations: 0 / 1.484 GB, free: 11.22 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5784, allocations: 0 / 1.484 GB, free: 11.22 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.5785, allocations: 0 / 1.484 GB, free: 11.22 MB / 1.186 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.00298/0.5815, allocations: 1.578 MB / 1.486 GB, free: 9.59 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5815, allocations: 15.98 kB / 1.486 GB, free: 9.574 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.5817, allocations: 148.2 kB / 1.486 GB, free: 9.422 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.5836, allocations: 271.9 kB / 1.486 GB, free: 9.156 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.585, allocations: 0.8018 MB / 1.487 GB, free: 8.312 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.5851, allocations: 77.92 kB / 1.487 GB, free: 8.234 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.5852, allocations: 92 kB / 1.487 GB, free: 8.145 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.5871, allocations: 1.012 MB / 1.488 GB, free: 7.094 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5871, allocations: 0 / 1.488 GB, free: 7.094 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.5872, allocations: 44 kB / 1.488 GB, free: 7.051 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.5872, allocations: 24 kB / 1.488 GB, free: 7.027 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.5894, allocations: 1.178 MB / 1.489 GB, free: 5.844 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/0.5943, allocations: 3.062 MB / 1.492 GB, free: 2.629 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.5961, allocations: 0.8639 MB / 1.493 GB, free: 1.742 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.5967, allocations: 290.7 kB / 1.494 GB, free: 1.457 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007076/0.5974, allocations: 470.2 kB / 1.494 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.5985, allocations: 0.503 MB / 1.495 GB, free: 392 kB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.294e-06/0.5985, allocations: 0 / 1.495 GB, free: 392 kB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003653/0.6021, allocations: 1.243 MB / 1.496 GB, free: 15.11 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.6023, allocations: 196.5 kB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.6034, allocations: 0.6646 MB / 1.497 GB, free: 14.21 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.6035, allocations: 41.7 kB / 1.497 GB, free: 14.16 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.6039, allocations: 444.9 kB / 1.497 GB, free: 13.72 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/0.6042, allocations: 273.7 kB / 1.497 GB, free: 13.45 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.6045, allocations: 154.6 kB / 1.497 GB, free: 13.29 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002369/0.6048, allocations: 386.7 kB / 1.498 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.6054, allocations: 261.9 kB / 1.498 GB, free: 12.65 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.6062, allocations: 370.5 kB / 1.498 GB, free: 12.26 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.6076, allocations: 0.6033 MB / 1.499 GB, free: 11.64 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6076, allocations: 4 kB / 1.499 GB, free: 11.64 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002307/0.6099, allocations: 0.8373 MB / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6099, allocations: 8 kB / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.6099, allocations: 0 / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.6106, allocations: 80.88 kB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006992/0.6112, allocations: 155.8 kB / 1.5 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.6136, allocations: 1.634 MB / 1.502 GB, free: 8.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008202/0.6144, allocations: 95.45 kB / 1.502 GB, free: 8.676 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/0.6145, allocations: 27.98 kB / 1.502 GB, free: 8.648 MB / 1.201 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.0005436/0.6151, allocations: 277.7 kB / 1.502 GB, free: 8.367 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.6153, allocations: 87.44 kB / 1.502 GB, free: 8.281 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.6181, allocations: 1.101 MB / 1.503 GB, free: 7.164 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.6181, allocations: 19.94 kB / 1.503 GB, free: 7.145 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6181, allocations: 0 / 1.503 GB, free: 7.145 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6181, allocations: 3.984 kB / 1.503 GB, free: 7.141 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/0.6221, allocations: 2.029 MB / 1.505 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.6221, allocations: 0 / 1.505 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.6228, allocations: 143.8 kB / 1.505 GB, free: 4.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.6232, allocations: 80.77 kB / 1.505 GB, free: 4.828 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.6233, allocations: 27.92 kB / 1.505 GB, free: 4.801 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.6255, allocations: 1.654 MB / 1.507 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6255, allocations: 0 / 1.507 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.6279, allocations: 1.03 MB / 1.508 GB, free: 1.949 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.6284, allocations: 292.1 kB / 1.508 GB, free: 1.645 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.6285, allocations: 20 kB / 1.508 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007583/0.6293, allocations: 70.58 kB / 1.508 GB, free: 1.559 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.6295, allocations: 68.84 kB / 1.508 GB, free: 1.492 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/0.6296, allocations: 43.91 kB / 1.509 GB, free: 1.449 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007453/0.6303, allocations: 487 kB / 1.509 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6303, allocations: 0 / 1.509 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001048/0.6313, allocations: 355.1 kB / 1.509 GB, free: 0.6328 MB / 1.201 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.00472/0.6361, allocations: 2.095 MB / 1.511 GB, free: 14.69 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.6381, allocations: 0.7922 MB / 1.512 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6382, allocations: 0 / 1.512 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.6393, allocations: 0.5081 MB / 1.513 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.6407, allocations: 304.3 kB / 1.513 GB, free: 13.09 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.6533, allocations: 6.509 MB / 1.519 GB, free: 6.426 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.6541, allocations: 1.047 MB / 1.52 GB, free: 5.348 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008968/0.655, allocations: 274.9 kB / 1.521 GB, free: 5.074 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.6557, allocations: 415.3 kB / 1.521 GB, free: 4.668 MB / 1.217 GB Notification: Performance of SimCode: time 6.41e-07/0.6557, allocations: 0 / 1.521 GB, free: 4.668 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06831/0.724, allocations: 22.85 MB / 1.543 GB, free: 14.11 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.04, allocations: 9.266 kB / 1.543 GB, free: 14.11 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.076234279898927]