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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003951/0.003951, allocations: 99.81 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 195.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.483/2.483, allocations: 469.4 MB / 0.7422 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6273, allocations: 159.1 MB / 1.22 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006457/0.6338, allocations: 5.162 MB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1494/0.7832, allocations: 150.7 MB / 1.372 GB, free: 5.812 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007256/0.784, allocations: 15.94 kB / 1.372 GB, free: 5.797 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.7846, allocations: 206.1 kB / 1.372 GB, free: 5.594 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.7864, allocations: 0.5741 MB / 1.373 GB, free: 5.02 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.7884, allocations: 0.8638 MB / 1.374 GB, free: 4.16 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.7899, allocations: 1.46 MB / 1.375 GB, free: 2.695 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008498/0.7908, allocations: 0.6548 MB / 1.376 GB, free: 2.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.7913, allocations: 0.5293 MB / 1.376 GB, free: 1.488 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.7919, allocations: 0.5485 MB / 1.377 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.7921, allocations: 128 kB / 1.377 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007945/0.7929, allocations: 0.5074 MB / 1.377 GB, free: 312 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.7931, allocations: 315 kB / 1.378 GB, free: 15.99 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004996/0.7937, allocations: 0.6063 MB / 1.378 GB, free: 15.39 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.7954, allocations: 1.764 MB / 1.38 GB, free: 13.62 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7954, allocations: 0 / 1.38 GB, free: 13.62 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7954, allocations: 0 / 1.38 GB, free: 13.62 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.7954, allocations: 0 / 1.38 GB, free: 13.62 MB / 1.107 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.002468/0.7979, allocations: 1.553 MB / 1.381 GB, free: 12 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7979, allocations: 8.625 kB / 1.381 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.7981, allocations: 148.2 kB / 1.382 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7992, allocations: 228 kB / 1.382 GB, free: 11.62 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.8004, allocations: 0.7893 MB / 1.383 GB, free: 10.79 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.8005, allocations: 74 kB / 1.383 GB, free: 10.72 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.8006, allocations: 88 kB / 1.383 GB, free: 10.63 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.8023, allocations: 1.02 MB / 1.384 GB, free: 9.57 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.8024, allocations: 0 / 1.384 GB, free: 9.57 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/0.8025, allocations: 44 kB / 1.384 GB, free: 9.527 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.8025, allocations: 20 kB / 1.384 GB, free: 9.508 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.8044, allocations: 1.175 MB / 1.385 GB, free: 8.336 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.8085, allocations: 2.946 MB / 1.388 GB, free: 5.258 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.8102, allocations: 0.9119 MB / 1.389 GB, free: 4.328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.8108, allocations: 318.7 kB / 1.389 GB, free: 4.016 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.8114, allocations: 474.1 kB / 1.389 GB, free: 3.461 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008959/0.8123, allocations: 0.5036 MB / 1.39 GB, free: 2.938 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.104e-06/0.8123, allocations: 0 / 1.39 GB, free: 2.938 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003277/0.8156, allocations: 1.233 MB / 1.391 GB, free: 1.676 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.8157, allocations: 192.6 kB / 1.391 GB, free: 1.445 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.8164, allocations: 0.645 MB / 1.392 GB, free: 0.793 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.8165, allocations: 41.7 kB / 1.392 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.8168, allocations: 433 kB / 1.392 GB, free: 324 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.817, allocations: 281.6 kB / 1.393 GB, free: 40 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.8173, allocations: 154.7 kB / 1.393 GB, free: 15.88 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8174, allocations: 390.7 kB / 1.393 GB, free: 15.49 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.818, allocations: 261.8 kB / 1.393 GB, free: 15.23 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.8186, allocations: 366.5 kB / 1.394 GB, free: 14.85 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.8198, allocations: 0.6033 MB / 1.394 GB, free: 14.24 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8198, allocations: 0 / 1.394 GB, free: 14.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001967/0.8218, allocations: 0.8375 MB / 1.395 GB, free: 13.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8218, allocations: 7.938 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8218, allocations: 0 / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005805/0.8224, allocations: 84.73 kB / 1.395 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.8231, allocations: 159.8 kB / 1.395 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.8252, allocations: 1.627 MB / 1.397 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.8259, allocations: 97.17 kB / 1.397 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.8259, allocations: 27.98 kB / 1.397 GB, free: 11.24 MB / 1.123 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.0003585/0.8263, allocations: 285.7 kB / 1.397 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.8265, allocations: 87.44 kB / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.8289, allocations: 1.089 MB / 1.399 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.829, allocations: 8 kB / 1.399 GB, free: 9.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.829, allocations: 4 kB / 1.399 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.829, allocations: 7.922 kB / 1.399 GB, free: 9.738 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.8322, allocations: 2.009 MB / 1.401 GB, free: 7.676 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.8323, allocations: 3.938 kB / 1.401 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.8329, allocations: 147.8 kB / 1.401 GB, free: 7.527 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.8333, allocations: 72.78 kB / 1.401 GB, free: 7.453 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.8334, allocations: 27.97 kB / 1.401 GB, free: 7.426 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.8352, allocations: 1.666 MB / 1.402 GB, free: 5.617 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8352, allocations: 0 / 1.402 GB, free: 5.617 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.8373, allocations: 1.03 MB / 1.403 GB, free: 4.566 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.8377, allocations: 284.1 kB / 1.404 GB, free: 4.27 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.8379, allocations: 20 kB / 1.404 GB, free: 4.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007173/0.8386, allocations: 63.94 kB / 1.404 GB, free: 4.188 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.8387, allocations: 72.83 kB / 1.404 GB, free: 4.117 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.8388, allocations: 39.97 kB / 1.404 GB, free: 4.078 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005292/0.8393, allocations: 467 kB / 1.404 GB, free: 3.625 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8393, allocations: 0 / 1.404 GB, free: 3.625 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007651/0.8401, allocations: 355 kB / 1.405 GB, free: 3.277 MB / 1.123 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.003536/0.8436, allocations: 2.104 MB / 1.407 GB, free: 1.328 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.8453, allocations: 0.8234 MB / 1.408 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8453, allocations: 0 / 1.408 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009847/0.8463, allocations: 0.5432 MB / 1.408 GB, free: 15.94 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.8475, allocations: 307.2 kB / 1.408 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/0.8575, allocations: 6.432 MB / 1.415 GB, free: 9.078 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.8581, allocations: 1.043 MB / 1.416 GB, free: 8.004 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007413/0.8588, allocations: 274.9 kB / 1.416 GB, free: 7.73 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.8594, allocations: 411.2 kB / 1.416 GB, free: 7.328 MB / 1.139 GB Notification: Performance of SimCode: time 2.3e-07/0.8594, allocations: 0 / 1.416 GB, free: 7.328 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.9032, allocations: 22.44 MB / 1.438 GB, free: 1.258 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.95, allocations: 8.922 kB / 1.438 GB, free: 1.25 MB / 1.154 GB (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 50 --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) 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) "" Variables in the reference:time,skyCle.skyCle Variables in the result:time,skyCle.skyCle,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor,weaBus.HHorIR