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.001267/0.001267, 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.00146/0.00146, allocations: 213.3 kB / 22.24 MB, free: 4.855 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.433/1.433, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.228/3.228, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] 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.002038/0.002038, allocations: 70.95 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3687, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007665/0.3764, allocations: 4.681 MB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1728/0.5491, allocations: 132.8 MB / 1.498 GB, free: 4.066 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.5503, allocations: 23.81 kB / 1.498 GB, free: 4.043 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.5513, allocations: 210.1 kB / 1.498 GB, free: 3.836 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.5537, allocations: 0.588 MB / 1.498 GB, free: 3.25 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.5562, allocations: 0.8866 MB / 1.499 GB, free: 2.367 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002375/0.5586, allocations: 1.475 MB / 1.501 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.5596, allocations: 452.6 kB / 1.501 GB, free: 432 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009598/0.5605, allocations: 0.5412 MB / 1.502 GB, free: 15.88 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.5614, allocations: 0.5053 MB / 1.502 GB, free: 15.37 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.5617, allocations: 128 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.5628, allocations: 0.5035 MB / 1.503 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.5632, allocations: 327 kB / 1.503 GB, free: 14.42 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.5638, allocations: 0.4937 MB / 1.504 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.5665, allocations: 1.825 MB / 1.505 GB, free: 12.09 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5665, allocations: 0 / 1.505 GB, free: 12.09 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5665, allocations: 0 / 1.505 GB, free: 12.09 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.283e-05/0.5665, allocations: 0 / 1.505 GB, free: 12.09 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.0032/0.5697, allocations: 1.497 MB / 1.507 GB, free: 10.56 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.5698, allocations: 12.03 kB / 1.507 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002177/0.57, allocations: 148.2 kB / 1.507 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.5812, allocations: 1.795 MB / 1.509 GB, free: 8.598 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.5829, allocations: 0.7647 MB / 1.509 GB, free: 7.809 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.583, allocations: 78 kB / 1.51 GB, free: 7.73 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.5832, allocations: 88 kB / 1.51 GB, free: 7.645 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006432/0.5897, allocations: 2.129 MB / 1.512 GB, free: 5.414 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.5897, allocations: 4 kB / 1.512 GB, free: 5.41 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.5898, allocations: 40 kB / 1.512 GB, free: 5.371 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.5899, allocations: 24 kB / 1.512 GB, free: 5.348 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.6001, allocations: 2.755 MB / 1.514 GB, free: 2.59 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.6109, allocations: 4.678 MB / 1.519 GB, free: 13.22 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005986/0.6169, allocations: 1.61 MB / 1.521 GB, free: 11.62 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004685/0.6215, allocations: 1.088 MB / 1.522 GB, free: 10.52 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.6216, allocations: 20.64 kB / 1.522 GB, free: 10.5 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005271/0.6269, allocations: 1.458 MB / 1.523 GB, free: 9.004 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 3.887e-06/0.6269, allocations: 0 / 1.523 GB, free: 9.004 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.01556/0.6425, allocations: 3.476 MB / 1.527 GB, free: 5.516 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.6426, allocations: 196.6 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.6437, allocations: 0.6646 MB / 1.527 GB, free: 4.605 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.6439, allocations: 41.7 kB / 1.527 GB, free: 4.559 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/0.6444, allocations: 445 kB / 1.528 GB, free: 4.117 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.6448, allocations: 281.7 kB / 1.528 GB, free: 3.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/0.6452, allocations: 154.6 kB / 1.528 GB, free: 3.68 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.6454, allocations: 390.8 kB / 1.529 GB, free: 3.289 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/0.65, allocations: 1.06 MB / 1.53 GB, free: 2.23 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004811/0.6548, allocations: 1.295 MB / 1.531 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008572/0.6634, allocations: 1.969 MB / 1.533 GB, free: 14.89 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6634, allocations: 0 / 1.533 GB, free: 14.89 MB / 1.232 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009984/0.6734, allocations: 2.332 MB / 1.535 GB, free: 12.55 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6734, allocations: 7.938 kB / 1.535 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6734, allocations: 4.094 kB / 1.535 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.674, allocations: 84.77 kB / 1.535 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/0.6767, allocations: 475.5 kB / 1.536 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.6789, allocations: 1.535 MB / 1.537 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.6817, allocations: 413 kB / 1.538 GB, free: 9.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.6818, allocations: 35.97 kB / 1.538 GB, free: 9.895 MB / 1.232 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.0006016/0.6824, allocations: 265.7 kB / 1.538 GB, free: 9.625 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.6827, allocations: 87.44 kB / 1.538 GB, free: 9.539 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.6935, allocations: 2.658 MB / 1.541 GB, free: 6.863 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.6935, allocations: 8 kB / 1.541 GB, free: 6.855 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6935, allocations: 0 / 1.541 GB, free: 6.855 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.6935, allocations: 3.984 kB / 1.541 GB, free: 6.852 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.7063, allocations: 4.227 MB / 1.545 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.7063, allocations: 0 / 1.545 GB, free: 2.266 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/0.7089, allocations: 479.5 kB / 1.545 GB, free: 1.797 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004603/0.7094, allocations: 68.8 kB / 1.545 GB, free: 1.727 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.7095, allocations: 31.95 kB / 1.545 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.7116, allocations: 1.555 MB / 1.547 GB, free: 16 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7116, allocations: 0 / 1.547 GB, free: 16 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.7218, allocations: 2.528 MB / 1.549 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/0.7226, allocations: 231 kB / 1.549 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.7229, allocations: 27.95 kB / 1.549 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/0.7255, allocations: 383.6 kB / 1.55 GB, free: 12.84 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.7257, allocations: 76.8 kB / 1.55 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7258, allocations: 39.97 kB / 1.55 GB, free: 12.72 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007359/0.7266, allocations: 487 kB / 1.55 GB, free: 12.25 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.7266, allocations: 0 / 1.55 GB, free: 12.25 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001125/0.7277, allocations: 367.1 kB / 1.551 GB, free: 11.89 MB / 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.01277/0.7405, allocations: 3.616 MB / 1.554 GB, free: 8.453 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01035/0.7508, allocations: 2.416 MB / 1.557 GB, free: 6.023 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.7508, allocations: 0 / 1.557 GB, free: 6.023 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005184/0.756, allocations: 1.32 MB / 1.558 GB, free: 4.695 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.7576, allocations: 305.8 kB / 1.558 GB, free: 4.414 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/0.7956, allocations: 11.3 MB / 1.569 GB, free: 8.965 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.7962, allocations: 465.6 kB / 1.57 GB, free: 8.48 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001339/0.7976, allocations: 318.9 kB / 1.57 GB, free: 8.164 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/0.7985, allocations: 427.2 kB / 1.57 GB, free: 7.746 MB / 1.264 GB Notification: Performance of SimCode: time 1.242e-06/0.7985, allocations: 0 / 1.57 GB, free: 7.746 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07571/0.8742, allocations: 26.7 MB / 1.596 GB, free: 13.36 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.09, allocations: 15.67 kB / 1.596 GB, free: 13.35 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.695145603735]