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.001791/0.001791, 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.001629/0.001629, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.785 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.125/3.125, allocations: 0.4892 GB / 0.7944 GB, free: 35.55 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.002899/0.002899, allocations: 72.38 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.374, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007296/0.3813, allocations: 4.678 MB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.5547, allocations: 132.8 MB / 1.459 GB, free: 8.375 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.5558, allocations: 23.81 kB / 1.459 GB, free: 8.352 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.5567, allocations: 206.1 kB / 1.46 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.5589, allocations: 0.5854 MB / 1.46 GB, free: 7.562 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.5614, allocations: 0.8964 MB / 1.461 GB, free: 6.672 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.5635, allocations: 1.475 MB / 1.462 GB, free: 5.191 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.5645, allocations: 448.7 kB / 1.463 GB, free: 4.727 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009373/0.5654, allocations: 0.545 MB / 1.463 GB, free: 4.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007377/0.5662, allocations: 0.4937 MB / 1.464 GB, free: 3.684 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.5664, allocations: 128 kB / 1.464 GB, free: 3.559 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.5675, allocations: 0.5191 MB / 1.464 GB, free: 3.039 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.5678, allocations: 326.9 kB / 1.465 GB, free: 2.719 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005589/0.5684, allocations: 0.4899 MB / 1.465 GB, free: 2.227 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.5709, allocations: 1.817 MB / 1.467 GB, free: 412 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5709, allocations: 0 / 1.467 GB, free: 412 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5709, allocations: 0 / 1.467 GB, free: 412 kB / 1.154 GB Notification: Performance of Transformations before backend: time 3.405e-05/0.571, allocations: 0 / 1.467 GB, free: 412 kB / 1.154 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.002901/0.5739, allocations: 1.496 MB / 1.469 GB, free: 14.87 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5739, allocations: 12.03 kB / 1.469 GB, free: 14.86 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/0.5741, allocations: 156.2 kB / 1.469 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.5759, allocations: 279.8 kB / 1.469 GB, free: 14.42 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.5773, allocations: 0.7297 MB / 1.47 GB, free: 13.67 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/0.5774, allocations: 74 kB / 1.47 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.5776, allocations: 91.98 kB / 1.47 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.5796, allocations: 1.267 MB / 1.471 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5796, allocations: 3.938 kB / 1.471 GB, free: 12.13 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-05/0.5797, allocations: 40 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.5797, allocations: 28 kB / 1.471 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.5818, allocations: 1.132 MB / 1.472 GB, free: 10.93 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004535/0.5863, allocations: 2.392 MB / 1.475 GB, free: 8.473 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.5881, allocations: 0.7941 MB / 1.475 GB, free: 7.668 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005958/0.5887, allocations: 282.7 kB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.5892, allocations: 84.55 kB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.5902, allocations: 0.5996 MB / 1.476 GB, free: 6.664 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.464e-06/0.5902, allocations: 0 / 1.476 GB, free: 6.664 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003364/0.5935, allocations: 1.167 MB / 1.477 GB, free: 5.488 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.5937, allocations: 188.6 kB / 1.478 GB, free: 5.262 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009746/0.5946, allocations: 0.6723 MB / 1.478 GB, free: 4.582 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.5947, allocations: 41.7 kB / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.5951, allocations: 441.1 kB / 1.479 GB, free: 4.098 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/0.5954, allocations: 277.6 kB / 1.479 GB, free: 3.824 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.5956, allocations: 158.5 kB / 1.479 GB, free: 3.664 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.5958, allocations: 386.8 kB / 1.479 GB, free: 3.277 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.5964, allocations: 257.9 kB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.5972, allocations: 499 kB / 1.48 GB, free: 2.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.5984, allocations: 0.6072 MB / 1.481 GB, free: 1.863 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5984, allocations: 0 / 1.481 GB, free: 1.863 MB / 1.17 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002077/0.6005, allocations: 0.8374 MB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.6005, allocations: 8 kB / 1.482 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.6005, allocations: 0 / 1.482 GB, free: 1.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.6011, allocations: 88.8 kB / 1.482 GB, free: 0.918 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.6017, allocations: 151.8 kB / 1.482 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.6039, allocations: 1.535 MB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/0.6047, allocations: 95.45 kB / 1.483 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.6048, allocations: 27.98 kB / 1.483 GB, free: 15 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.0004999/0.6053, allocations: 284.5 kB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.6055, allocations: 87.44 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.608, allocations: 1.101 MB / 1.485 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.608, allocations: 8 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.608, allocations: 0 / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.608, allocations: 7.984 kB / 1.485 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/0.6117, allocations: 1.852 MB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6117, allocations: 4 kB / 1.487 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.6123, allocations: 155.8 kB / 1.487 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/0.6127, allocations: 68.73 kB / 1.487 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/0.6128, allocations: 27.97 kB / 1.487 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.6148, allocations: 1.562 MB / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6148, allocations: 0 / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.617, allocations: 1.034 MB / 1.49 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.6175, allocations: 203.1 kB / 1.49 GB, free: 8.395 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.6176, allocations: 20 kB / 1.49 GB, free: 8.375 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.6183, allocations: 71.86 kB / 1.49 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.6185, allocations: 80.8 kB / 1.49 GB, free: 8.227 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.6185, allocations: 35.97 kB / 1.49 GB, free: 8.191 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000658/0.6192, allocations: 487 kB / 1.49 GB, free: 7.723 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6192, allocations: 4 kB / 1.49 GB, free: 7.719 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009358/0.6201, allocations: 347 kB / 1.491 GB, free: 7.379 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.004509/0.6246, allocations: 2.143 MB / 1.493 GB, free: 5.418 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.6265, allocations: 0.7921 MB / 1.494 GB, free: 4.613 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6265, allocations: 0 / 1.494 GB, free: 4.613 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.6275, allocations: 0.5081 MB / 1.494 GB, free: 4.094 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.6289, allocations: 312.3 kB / 1.494 GB, free: 3.812 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.6409, allocations: 6.505 MB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.6414, allocations: 461.6 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009802/0.6424, allocations: 282.9 kB / 1.501 GB, free: 12.39 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/0.643, allocations: 415.2 kB / 1.502 GB, free: 11.98 MB / 1.201 GB Notification: Performance of SimCode: time 1.202e-06/0.643, allocations: 3.938 kB / 1.502 GB, free: 11.98 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06837/0.7114, allocations: 24.4 MB / 1.526 GB, free: 3.898 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.52, allocations: 6.438 kB / 1.526 GB, free: 3.895 MB / 1.217 GB " [Timeout remaining time 285] (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.487282063812017]