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.001359/0.001359, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.00154/0.00154, allocations: 221 kB / 22.25 MB, free: 5.105 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.816 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.085/3.085, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.002029/0.002029, allocations: 72.31 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3387, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007037/0.3458, allocations: 4.699 MB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.5174, allocations: 132.8 MB / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009884/0.5184, allocations: 27.81 kB / 1.46 GB, free: 7.48 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006816/0.5191, allocations: 202.1 kB / 1.46 GB, free: 7.281 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5211, allocations: 0.5936 MB / 1.461 GB, free: 6.688 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.5234, allocations: 0.885 MB / 1.462 GB, free: 5.809 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.5252, allocations: 1.471 MB / 1.463 GB, free: 4.332 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008161/0.526, allocations: 468.7 kB / 1.464 GB, free: 3.848 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008055/0.5268, allocations: 0.5567 MB / 1.464 GB, free: 3.289 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006865/0.5275, allocations: 0.5562 MB / 1.465 GB, free: 2.73 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.5277, allocations: 124 kB / 1.465 GB, free: 2.609 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5287, allocations: 0.5269 MB / 1.465 GB, free: 2.082 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.529, allocations: 330.9 kB / 1.466 GB, free: 1.758 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004832/0.5295, allocations: 0.4937 MB / 1.466 GB, free: 1.262 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.5317, allocations: 1.821 MB / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5317, allocations: 0 / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5317, allocations: 0 / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.5317, allocations: 3.984 kB / 1.468 GB, free: 15.43 MB / 1.17 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.002571/0.5343, allocations: 1.5 MB / 1.469 GB, free: 13.89 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5343, allocations: 12.03 kB / 1.469 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.5345, allocations: 148.2 kB / 1.47 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.5362, allocations: 271.9 kB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5376, allocations: 0.7374 MB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.5376, allocations: 74 kB / 1.471 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.5378, allocations: 88 kB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5397, allocations: 1.279 MB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.5397, allocations: 0 / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.073e-05/0.5398, allocations: 40 kB / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.5398, allocations: 24 kB / 1.472 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.5418, allocations: 1.128 MB / 1.473 GB, free: 9.965 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.5461, allocations: 2.399 MB / 1.475 GB, free: 7.5 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.5477, allocations: 0.7869 MB / 1.476 GB, free: 6.703 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.5483, allocations: 294.6 kB / 1.476 GB, free: 6.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.5487, allocations: 84.56 kB / 1.477 GB, free: 6.328 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009744/0.5497, allocations: 0.5957 MB / 1.477 GB, free: 5.691 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.5497, allocations: 0 / 1.477 GB, free: 5.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003249/0.553, allocations: 1.167 MB / 1.478 GB, free: 4.516 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.5531, allocations: 192.6 kB / 1.478 GB, free: 4.285 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/0.554, allocations: 0.6763 MB / 1.479 GB, free: 3.602 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.5541, allocations: 41.7 kB / 1.479 GB, free: 3.555 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.5545, allocations: 441.1 kB / 1.48 GB, free: 3.117 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.5547, allocations: 269.7 kB / 1.48 GB, free: 2.852 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.555, allocations: 154.6 kB / 1.48 GB, free: 2.695 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.5552, allocations: 386.7 kB / 1.48 GB, free: 2.309 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.5557, allocations: 261.8 kB / 1.481 GB, free: 2.051 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.5565, allocations: 0.4913 MB / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.5578, allocations: 0.5994 MB / 1.482 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5578, allocations: 0 / 1.482 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002082/0.5598, allocations: 0.8452 MB / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5599, allocations: 8 kB / 1.483 GB, free: 28 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5599, allocations: 3.938 kB / 1.483 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.5604, allocations: 80.94 kB / 1.483 GB, free: 15.94 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.5611, allocations: 155.7 kB / 1.483 GB, free: 15.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.5633, allocations: 1.527 MB / 1.484 GB, free: 14.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.5641, allocations: 93.31 kB / 1.484 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.5642, allocations: 36.05 kB / 1.484 GB, free: 14.02 MB / 1.186 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.000526/0.5647, allocations: 277.6 kB / 1.485 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.5649, allocations: 91.42 kB / 1.485 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.5676, allocations: 1.097 MB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.5676, allocations: 11.98 kB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5676, allocations: 7.938 kB / 1.486 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5676, allocations: 3.984 kB / 1.486 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.5711, allocations: 1.86 MB / 1.488 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5711, allocations: 0 / 1.488 GB, free: 10.6 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/0.5717, allocations: 151.8 kB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.5721, allocations: 72.78 kB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.5722, allocations: 23.98 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.5742, allocations: 1.555 MB / 1.489 GB, free: 8.68 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5742, allocations: 0 / 1.489 GB, free: 8.68 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.5765, allocations: 1.03 MB / 1.49 GB, free: 7.629 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.577, allocations: 211 kB / 1.491 GB, free: 7.422 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.5771, allocations: 20 kB / 1.491 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.5778, allocations: 69.8 kB / 1.491 GB, free: 7.336 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5779, allocations: 76.8 kB / 1.491 GB, free: 7.262 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.162e-05/0.578, allocations: 31.98 kB / 1.491 GB, free: 7.23 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006639/0.5787, allocations: 491 kB / 1.491 GB, free: 6.758 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5787, allocations: 0 / 1.491 GB, free: 6.758 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001019/0.5797, allocations: 355 kB / 1.492 GB, free: 6.41 MB / 1.186 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.004429/0.5841, allocations: 2.139 MB / 1.494 GB, free: 4.449 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.5859, allocations: 0.7921 MB / 1.494 GB, free: 3.648 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5859, allocations: 4.188 kB / 1.494 GB, free: 3.645 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009592/0.5869, allocations: 0.504 MB / 1.495 GB, free: 3.129 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.5882, allocations: 312.8 kB / 1.495 GB, free: 2.844 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.5993, allocations: 6.502 MB / 1.502 GB, free: 12.19 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.5998, allocations: 471.8 kB / 1.502 GB, free: 11.7 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008955/0.6007, allocations: 274.8 kB / 1.502 GB, free: 11.43 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/0.6013, allocations: 411.2 kB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of SimCode: time 7.32e-07/0.6013, allocations: 4 kB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06605/0.6674, allocations: 24.65 MB / 1.527 GB, free: 2.688 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.21, allocations: 5.531 kB / 1.527 GB, free: 2.684 MB / 1.217 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.08439597301185]