Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00197/0.00197, allocations: 109.2 kB / 16.45 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.002221/0.002221, 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.385/1.385, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.101/3.101, allocations: 0.505 GB / 0.8066 GB, free: 23.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_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.002107/0.002107, allocations: 72.12 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3281, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007233/0.3353, allocations: 5.222 MB / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1823/0.5177, allocations: 154.1 MB / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.5188, allocations: 23.81 kB / 1.503 GB, free: 10.06 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000902/0.5197, allocations: 206 kB / 1.504 GB, free: 9.855 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.522, allocations: 0.5872 MB / 1.504 GB, free: 9.27 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.5244, allocations: 0.8932 MB / 1.505 GB, free: 8.383 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002197/0.5266, allocations: 1.475 MB / 1.506 GB, free: 6.898 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.5277, allocations: 476.1 kB / 1.507 GB, free: 6.406 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000996/0.5287, allocations: 0.5373 MB / 1.507 GB, free: 5.867 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009515/0.5297, allocations: 0.5601 MB / 1.508 GB, free: 5.305 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003383/0.53, allocations: 132 kB / 1.508 GB, free: 5.176 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.5313, allocations: 0.5386 MB / 1.509 GB, free: 4.637 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.5317, allocations: 326.9 kB / 1.509 GB, free: 4.316 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009097/0.5326, allocations: 0.6102 MB / 1.51 GB, free: 3.703 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.5356, allocations: 1.809 MB / 1.511 GB, free: 1.887 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5356, allocations: 0 / 1.511 GB, free: 1.887 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5356, allocations: 0 / 1.511 GB, free: 1.887 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.5356, allocations: 0 / 1.511 GB, free: 1.887 MB / 1.201 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.003011/0.5387, allocations: 1.58 MB / 1.513 GB, free: 260 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5387, allocations: 15.98 kB / 1.513 GB, free: 244 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.5389, allocations: 148.2 kB / 1.513 GB, free: 88 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.5499, allocations: 1.799 MB / 1.515 GB, free: 14.28 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.5515, allocations: 0.8252 MB / 1.516 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.5516, allocations: 77.94 kB / 1.516 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.5517, allocations: 88 kB / 1.516 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/0.5577, allocations: 1.886 MB / 1.518 GB, free: 11.33 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.5578, allocations: 4 kB / 1.518 GB, free: 11.32 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.5579, allocations: 36 kB / 1.518 GB, free: 11.29 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5579, allocations: 24 kB / 1.518 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.568, allocations: 2.79 MB / 1.52 GB, free: 8.469 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.579, allocations: 5.388 MB / 1.526 GB, free: 2.305 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006013/0.585, allocations: 1.68 MB / 1.527 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00465/0.5897, allocations: 1.088 MB / 1.528 GB, free: 15.51 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.5898, allocations: 36.67 kB / 1.528 GB, free: 15.47 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00513/0.5949, allocations: 1.363 MB / 1.53 GB, free: 14.09 MB / 1.232 GB Notification: Performance of pre-optimization done (n=82): time 3.717e-06/0.5949, allocations: 0 / 1.53 GB, free: 14.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=82): time 0.01539/0.6103, allocations: 3.555 MB / 1.533 GB, free: 10.5 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.6105, allocations: 188.6 kB / 1.533 GB, free: 10.28 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.6117, allocations: 0.6685 MB / 1.534 GB, free: 9.602 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.6118, allocations: 45.7 kB / 1.534 GB, free: 9.551 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.6122, allocations: 437 kB / 1.534 GB, free: 9.117 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.6126, allocations: 277.6 kB / 1.535 GB, free: 8.844 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/0.613, allocations: 158.5 kB / 1.535 GB, free: 8.68 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.6132, allocations: 394.8 kB / 1.535 GB, free: 8.285 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/0.6178, allocations: 1.056 MB / 1.536 GB, free: 7.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004739/0.6226, allocations: 1.178 MB / 1.537 GB, free: 6.031 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008333/0.6309, allocations: 1.969 MB / 1.539 GB, free: 4.051 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6309, allocations: 0 / 1.539 GB, free: 4.051 MB / 1.232 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009784/0.6407, allocations: 2.336 MB / 1.542 GB, free: 1.703 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.6407, allocations: 7.984 kB / 1.542 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6407, allocations: 0 / 1.542 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/0.6413, allocations: 80.88 kB / 1.542 GB, free: 1.613 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.6439, allocations: 479.5 kB / 1.542 GB, free: 1.145 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.6462, allocations: 1.626 MB / 1.544 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.6488, allocations: 413.2 kB / 1.544 GB, free: 14.97 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.649, allocations: 39.95 kB / 1.544 GB, free: 14.93 MB / 1.248 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.0006371/0.6496, allocations: 281.8 kB / 1.544 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.6499, allocations: 87.44 kB / 1.545 GB, free: 14.56 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.6607, allocations: 2.65 MB / 1.547 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.6607, allocations: 12 kB / 1.547 GB, free: 11.88 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6607, allocations: 0 / 1.547 GB, free: 11.88 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.6607, allocations: 3.984 kB / 1.547 GB, free: 11.88 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.6737, allocations: 4.438 MB / 1.551 GB, free: 7.062 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.6737, allocations: 4 kB / 1.551 GB, free: 7.059 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/0.6762, allocations: 471.5 kB / 1.552 GB, free: 6.598 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.6767, allocations: 68.78 kB / 1.552 GB, free: 6.527 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.6768, allocations: 31.91 kB / 1.552 GB, free: 6.496 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.679, allocations: 1.666 MB / 1.554 GB, free: 4.684 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.679, allocations: 3.938 kB / 1.554 GB, free: 4.68 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.6892, allocations: 2.528 MB / 1.556 GB, free: 2.133 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.6899, allocations: 320.1 kB / 1.556 GB, free: 1.801 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.6901, allocations: 16 kB / 1.556 GB, free: 1.785 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/0.6927, allocations: 385.5 kB / 1.557 GB, free: 1.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.6929, allocations: 72.84 kB / 1.557 GB, free: 1.336 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.693, allocations: 39.97 kB / 1.557 GB, free: 1.297 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007926/0.6938, allocations: 491 kB / 1.557 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6938, allocations: 0 / 1.557 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001188/0.695, allocations: 367.1 kB / 1.558 GB, free: 476 kB / 1.248 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.01211/0.7071, allocations: 3.58 MB / 1.561 GB, free: 13.04 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00982/0.7169, allocations: 2.416 MB / 1.564 GB, free: 10.61 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7169, allocations: 0 / 1.564 GB, free: 10.61 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/0.722, allocations: 1.312 MB / 1.565 GB, free: 9.285 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.7236, allocations: 314.4 kB / 1.565 GB, free: 8.996 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/0.76, allocations: 11.3 MB / 1.576 GB, free: 13.54 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009522/0.7609, allocations: 1.047 MB / 1.577 GB, free: 12.45 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001269/0.7622, allocations: 311 kB / 1.578 GB, free: 12.14 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008687/0.7631, allocations: 425.3 kB / 1.578 GB, free: 11.73 MB / 1.279 GB Notification: Performance of SimCode: time 9.61e-07/0.7631, allocations: 4 kB / 1.578 GB, free: 11.73 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06738/0.8304, allocations: 24.89 MB / 1.602 GB, free: 3.152 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.66, allocations: 9.578 kB / 1.602 GB, free: 3.145 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.051856806967407]