Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_11_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.01421/0.01421, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.00262/0.00262, allocations: 194.1 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.23/2.23, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 4.322/4.322, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.83 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3307, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007366/0.3381, allocations: 5.16 MB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.35/1.688, allocations: 150.7 MB / 1.372 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/1.689, allocations: 19.41 kB / 1.372 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/1.691, allocations: 195.1 kB / 1.373 GB, free: 10.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004055/1.695, allocations: 0.5654 MB / 1.373 GB, free: 10.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004458/1.699, allocations: 0.8655 MB / 1.374 GB, free: 9.895 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003898/1.703, allocations: 1.457 MB / 1.375 GB, free: 9.141 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/1.706, allocations: 0.6571 MB / 1.376 GB, free: 8.793 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/1.707, allocations: 0.5145 MB / 1.377 GB, free: 8.535 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/1.709, allocations: 0.5439 MB / 1.377 GB, free: 8.246 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005136/1.709, allocations: 124.3 kB / 1.377 GB, free: 8.246 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/1.712, allocations: 0.5063 MB / 1.378 GB, free: 8.121 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007646/1.713, allocations: 319.3 kB / 1.378 GB, free: 7.918 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001686/1.714, allocations: 0.6111 MB / 1.379 GB, free: 7.512 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005294/1.72, allocations: 1.765 MB / 1.38 GB, free: 6.492 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.72, allocations: 0 / 1.38 GB, free: 6.492 MB / 1.076 GB Notification: Performance of FrontEnd: time 5.1e-06/1.72, allocations: 1.156 kB / 1.38 GB, free: 6.492 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.734e-05/1.72, allocations: 3.938 kB / 1.38 GB, free: 6.488 MB / 1.076 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.006812/1.727, allocations: 1.546 MB / 1.382 GB, free: 5.266 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/1.727, allocations: 9.25 kB / 1.382 GB, free: 5.266 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004548/1.727, allocations: 144.9 kB / 1.382 GB, free: 5.148 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/1.73, allocations: 225.7 kB / 1.382 GB, free: 5.039 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/1.733, allocations: 0.7912 MB / 1.383 GB, free: 4.387 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/1.733, allocations: 76.42 kB / 1.383 GB, free: 4.352 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/1.734, allocations: 93.56 kB / 1.383 GB, free: 4.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/1.738, allocations: 1.015 MB / 1.384 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.513e-05/1.738, allocations: 0.9062 kB / 1.384 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/1.739, allocations: 37.81 kB / 1.384 GB, free: 3.645 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/1.739, allocations: 27.25 kB / 1.384 GB, free: 3.641 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004725/1.743, allocations: 1.177 MB / 1.385 GB, free: 3.078 MB / 1.076 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.01106/1.754, allocations: 2.945 MB / 1.388 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005699/1.76, allocations: 0.919 MB / 1.389 GB, free: 200 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/1.762, allocations: 311.2 kB / 1.389 GB, free: 44 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.763, allocations: 473.6 kB / 1.39 GB, free: 15.53 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/1.765, allocations: 0.5038 MB / 1.39 GB, free: 15.2 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 8.145e-06/1.765, allocations: 7.75 kB / 1.39 GB, free: 15.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.007246/1.773, allocations: 1.228 MB / 1.392 GB, free: 14.54 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/1.773, allocations: 200.8 kB / 1.392 GB, free: 14.31 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/1.775, allocations: 0.6453 MB / 1.392 GB, free: 13.94 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/1.775, allocations: 42.86 kB / 1.392 GB, free: 13.89 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007988/1.776, allocations: 433.6 kB / 1.393 GB, free: 13.52 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005843/1.777, allocations: 278 kB / 1.393 GB, free: 13.27 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/1.778, allocations: 153.9 kB / 1.393 GB, free: 13.18 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0003997/1.778, allocations: 384.9 kB / 1.394 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.779, allocations: 262.2 kB / 1.394 GB, free: 12.68 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/1.781, allocations: 373 kB / 1.394 GB, free: 12.45 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/1.784, allocations: 0.6022 MB / 1.395 GB, free: 12.13 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.784, allocations: 1.031 kB / 1.395 GB, free: 12.13 MB / 1.092 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004803/1.788, allocations: 0.8302 MB / 1.396 GB, free: 11.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/1.789, allocations: 6.219 kB / 1.396 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.789, allocations: 1.125 kB / 1.396 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/1.79, allocations: 86.36 kB / 1.396 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.791, allocations: 154.6 kB / 1.396 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/1.796, allocations: 1.627 MB / 1.397 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/1.798, allocations: 100.7 kB / 1.398 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/1.798, allocations: 36.5 kB / 1.398 GB, free: 9.934 MB / 1.092 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.00128/1.799, allocations: 264.8 kB / 1.398 GB, free: 9.727 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/1.8, allocations: 92.67 kB / 1.398 GB, free: 9.676 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005694/1.806, allocations: 1.094 MB / 1.399 GB, free: 9.062 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/1.806, allocations: 9.469 kB / 1.399 GB, free: 9.062 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/1.806, allocations: 0 / 1.399 GB, free: 9.062 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/1.806, allocations: 7.969 kB / 1.399 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008083/1.814, allocations: 2.012 MB / 1.401 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.814, allocations: 0 / 1.401 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.815, allocations: 157.7 kB / 1.401 GB, free: 7.684 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008268/1.816, allocations: 71.03 kB / 1.401 GB, free: 7.648 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/1.816, allocations: 24.55 kB / 1.401 GB, free: 7.633 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/1.82, allocations: 1.658 MB / 1.403 GB, free: 6.012 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.82, allocations: 1.219 kB / 1.403 GB, free: 6.012 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004653/1.825, allocations: 1.029 MB / 1.404 GB, free: 5.426 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.826, allocations: 285.4 kB / 1.404 GB, free: 5.176 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/1.827, allocations: 18.44 kB / 1.404 GB, free: 5.164 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.828, allocations: 68.61 kB / 1.404 GB, free: 5.129 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/1.828, allocations: 72.67 kB / 1.404 GB, free: 5.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.829, allocations: 40.33 kB / 1.404 GB, free: 5.074 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001447/1.83, allocations: 474 kB / 1.405 GB, free: 4.801 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.91e-07/1.83, allocations: 0 / 1.405 GB, free: 4.801 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002224/1.832, allocations: 349.7 kB / 1.405 GB, free: 4.699 MB / 1.092 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.008353/1.841, allocations: 2.105 MB / 1.407 GB, free: 3.379 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003407/1.844, allocations: 0.8201 MB / 1.408 GB, free: 2.949 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.844, allocations: 3.031 kB / 1.408 GB, free: 2.949 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/1.846, allocations: 0.5246 MB / 1.408 GB, free: 2.652 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.849, allocations: 315 kB / 1.409 GB, free: 2.492 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/1.874, allocations: 6.453 MB / 1.415 GB, free: 13.02 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.876, allocations: 1.036 MB / 1.416 GB, free: 11.96 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002159/1.878, allocations: 278.8 kB / 1.416 GB, free: 11.68 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.879, allocations: 411.3 kB / 1.417 GB, free: 11.28 MB / 1.107 GB Notification: Performance of SimCode: time 2.976e-06/1.879, allocations: 3.938 kB / 1.417 GB, free: 11.27 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2799/2.159, allocations: 22.44 MB / 1.439 GB, free: 5.184 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/19.82, allocations: 10.62 kB / 1.439 GB, free: 5.176 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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