Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_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.007343/0.007343, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001674/0.001674, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.84 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6775, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006448/0.684, allocations: 5.192 MB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1461/0.8302, allocations: 150.7 MB / 1.318 GB, free: 7.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000814/0.831, allocations: 15.94 kB / 1.318 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.8318, allocations: 198.1 kB / 1.319 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.8337, allocations: 0.5748 MB / 1.319 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.8358, allocations: 0.8726 MB / 1.32 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.8374, allocations: 1.456 MB / 1.321 GB, free: 4.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009626/0.8383, allocations: 0.6587 MB / 1.322 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007248/0.8391, allocations: 0.5139 MB / 1.323 GB, free: 2.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007017/0.8398, allocations: 0.5523 MB / 1.323 GB, free: 2.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.84, allocations: 124 kB / 1.323 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008953/0.8409, allocations: 0.5074 MB / 1.324 GB, free: 1.754 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.8412, allocations: 319 kB / 1.324 GB, free: 1.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.8417, allocations: 0.6063 MB / 1.325 GB, free: 0.832 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.8435, allocations: 1.764 MB / 1.326 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8435, allocations: 0 / 1.326 GB, free: 15.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8435, allocations: 0 / 1.326 GB, free: 15.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.8435, allocations: 4 kB / 1.326 GB, free: 15.05 MB / 1.061 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.002392/0.8459, allocations: 1.545 MB / 1.328 GB, free: 13.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8459, allocations: 8.922 kB / 1.328 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.8461, allocations: 156.2 kB / 1.328 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.8472, allocations: 220 kB / 1.328 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.8483, allocations: 0.7893 MB / 1.329 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.8484, allocations: 78 kB / 1.329 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.8485, allocations: 88 kB / 1.329 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.8502, allocations: 1.016 MB / 1.33 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.8502, allocations: 0 / 1.33 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.8503, allocations: 47.98 kB / 1.33 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.8503, allocations: 24 kB / 1.33 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.8522, allocations: 1.178 MB / 1.331 GB, free: 9.773 MB / 1.061 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.004/0.8562, allocations: 2.946 MB / 1.334 GB, free: 6.695 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.8579, allocations: 0.9155 MB / 1.335 GB, free: 5.762 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.8585, allocations: 314.7 kB / 1.335 GB, free: 5.449 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.8592, allocations: 474.1 kB / 1.336 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009639/0.8602, allocations: 0.497 MB / 1.336 GB, free: 4.379 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.245e-06/0.8602, allocations: 0 / 1.336 GB, free: 4.379 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003196/0.8634, allocations: 1.245 MB / 1.338 GB, free: 3.109 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.8635, allocations: 188.6 kB / 1.338 GB, free: 2.883 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.8642, allocations: 0.6411 MB / 1.338 GB, free: 2.234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.8643, allocations: 41.7 kB / 1.338 GB, free: 2.188 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.8646, allocations: 437 kB / 1.339 GB, free: 1.754 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.8648, allocations: 281.6 kB / 1.339 GB, free: 1.477 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.865, allocations: 146.6 kB / 1.339 GB, free: 1.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8652, allocations: 390.7 kB / 1.34 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.8657, allocations: 253.9 kB / 1.34 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/0.8664, allocations: 378.5 kB / 1.34 GB, free: 300 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8675, allocations: 0.5994 MB / 1.341 GB, free: 15.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8675, allocations: 4 kB / 1.341 GB, free: 15.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001894/0.8694, allocations: 0.8335 MB / 1.342 GB, free: 14.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8695, allocations: 4 kB / 1.342 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.8695, allocations: 0 / 1.342 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.87, allocations: 84.92 kB / 1.342 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.8707, allocations: 167.7 kB / 1.342 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.8726, allocations: 1.622 MB / 1.343 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.8733, allocations: 102.5 kB / 1.344 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.8734, allocations: 27.98 kB / 1.344 GB, free: 12.69 MB / 1.076 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.0003714/0.8738, allocations: 277.8 kB / 1.344 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.8739, allocations: 87.42 kB / 1.344 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.8763, allocations: 1.105 MB / 1.345 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.8763, allocations: 8 kB / 1.345 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.8764, allocations: 4 kB / 1.345 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.8764, allocations: 3.984 kB / 1.345 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.8796, allocations: 2.013 MB / 1.347 GB, free: 9.113 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8796, allocations: 4 kB / 1.347 GB, free: 9.109 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.8802, allocations: 147.8 kB / 1.347 GB, free: 8.965 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.8806, allocations: 76.72 kB / 1.347 GB, free: 8.887 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.8807, allocations: 23.98 kB / 1.347 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.8825, allocations: 1.659 MB / 1.349 GB, free: 7.059 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.8825, allocations: 4.062 kB / 1.349 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.8845, allocations: 1.026 MB / 1.35 GB, free: 6.008 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.8849, allocations: 284.1 kB / 1.35 GB, free: 5.711 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.885, allocations: 23.98 kB / 1.35 GB, free: 5.688 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006928/0.8857, allocations: 66.91 kB / 1.35 GB, free: 5.625 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.8859, allocations: 76.83 kB / 1.35 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.886, allocations: 31.98 kB / 1.35 GB, free: 5.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005322/0.8865, allocations: 475 kB / 1.351 GB, free: 5.059 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8865, allocations: 0 / 1.351 GB, free: 5.059 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008361/0.8873, allocations: 351.1 kB / 1.351 GB, free: 4.715 MB / 1.076 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.003521/0.8909, allocations: 2.098 MB / 1.353 GB, free: 2.758 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.8925, allocations: 0.8197 MB / 1.354 GB, free: 1.926 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8926, allocations: 0 / 1.354 GB, free: 1.926 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009531/0.8935, allocations: 0.5431 MB / 1.354 GB, free: 1.371 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.8948, allocations: 296 kB / 1.355 GB, free: 1.105 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009916/0.9047, allocations: 6.439 MB / 1.361 GB, free: 10.51 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.9053, allocations: 1.051 MB / 1.362 GB, free: 9.426 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008007/0.9061, allocations: 270.9 kB / 1.362 GB, free: 9.156 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.9067, allocations: 407.3 kB / 1.363 GB, free: 8.758 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/0.9067, allocations: 7.938 kB / 1.363 GB, free: 8.75 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/0.9546, allocations: 22.44 MB / 1.385 GB, free: 2.562 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.01, allocations: 23.61 kB / 1.385 GB, free: 2.539 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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