Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.009096/0.009096, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.002376/0.002377, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.5/2.5, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.08/4.08, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2875, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006884/0.2944, allocations: 4.925 MB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7068/1.001, allocations: 150.6 MB / 1.372 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/1.002, allocations: 16.44 kB / 1.372 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005724/1.003, allocations: 190.5 kB / 1.372 GB, free: 10.89 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/1.004, allocations: 0.5533 MB / 1.373 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/1.006, allocations: 0.8538 MB / 1.374 GB, free: 10.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001627/1.008, allocations: 1.433 MB / 1.375 GB, free: 9.395 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/1.009, allocations: 0.581 MB / 1.376 GB, free: 9.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007502/1.009, allocations: 0.5002 MB / 1.376 GB, free: 8.836 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006602/1.01, allocations: 0.5167 MB / 1.377 GB, free: 8.566 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/1.01, allocations: 118.7 kB / 1.377 GB, free: 8.566 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009276/1.011, allocations: 490.2 kB / 1.377 GB, free: 8.449 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/1.012, allocations: 302.6 kB / 1.377 GB, free: 8.258 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005686/1.012, allocations: 0.5754 MB / 1.378 GB, free: 7.875 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/1.014, allocations: 1.67 MB / 1.38 GB, free: 6.969 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.014, allocations: 5.188 kB / 1.38 GB, free: 6.965 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/1.014, allocations: 0 / 1.38 GB, free: 6.965 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.081e-05/1.014, allocations: 0 / 1.38 GB, free: 6.965 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002842/1.017, allocations: 1.504 MB / 1.381 GB, free: 5.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.017, allocations: 9.875 kB / 1.381 GB, free: 5.77 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/1.017, allocations: 141.9 kB / 1.381 GB, free: 5.652 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/1.018, allocations: 193.8 kB / 1.381 GB, free: 5.559 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/1.019, allocations: 0.7773 MB / 1.382 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/1.02, allocations: 68.62 kB / 1.382 GB, free: 4.887 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/1.02, allocations: 83.75 kB / 1.382 GB, free: 4.859 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.021, allocations: 0.9378 MB / 1.383 GB, free: 4.258 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.021, allocations: 0 / 1.383 GB, free: 4.258 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-05/1.021, allocations: 40.8 kB / 1.383 GB, free: 4.227 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/1.021, allocations: 20.91 kB / 1.383 GB, free: 4.227 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/1.023, allocations: 1.123 MB / 1.384 GB, free: 3.688 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.004325/1.028, allocations: 2.737 MB / 1.387 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/1.029, allocations: 0.9064 MB / 1.388 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/1.03, allocations: 314.6 kB / 1.388 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.787e-05/1.03, allocations: 29.03 kB / 1.388 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009637/1.031, allocations: 0.5256 MB / 1.389 GB, free: 484 kB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 4.458e-06/1.031, allocations: 0 / 1.389 GB, free: 484 kB / 1.076 GB Notification: Performance of matching and sorting (n=84): time 0.003482/1.035, allocations: 1.26 MB / 1.39 GB, free: 15.79 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.035, allocations: 194.3 kB / 1.39 GB, free: 15.56 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008839/1.036, allocations: 0.636 MB / 1.391 GB, free: 15.2 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/1.036, allocations: 41.52 kB / 1.391 GB, free: 15.15 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/1.036, allocations: 410.5 kB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.036, allocations: 283.4 kB / 1.392 GB, free: 14.55 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.037, allocations: 154 kB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.037, allocations: 393.8 kB / 1.392 GB, free: 14.08 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/1.037, allocations: 253.9 kB / 1.392 GB, free: 13.96 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/1.038, allocations: 368.9 kB / 1.393 GB, free: 13.73 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.039, allocations: 0.604 MB / 1.393 GB, free: 13.4 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.039, allocations: 1.781 kB / 1.393 GB, free: 13.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002069/1.041, allocations: 0.8338 MB / 1.394 GB, free: 12.97 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.041, allocations: 9 kB / 1.394 GB, free: 12.97 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.041, allocations: 5.344 kB / 1.394 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/1.042, allocations: 83.48 kB / 1.394 GB, free: 12.92 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/1.043, allocations: 162.4 kB / 1.394 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.045, allocations: 1.629 MB / 1.396 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/1.046, allocations: 92.5 kB / 1.396 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/1.046, allocations: 33.16 kB / 1.396 GB, free: 11.21 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004825/1.046, allocations: 276.5 kB / 1.396 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.046, allocations: 88.41 kB / 1.396 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.049, allocations: 1.132 MB / 1.397 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.049, allocations: 13.56 kB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/1.049, allocations: 1.375 kB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/1.049, allocations: 7.969 kB / 1.398 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/1.053, allocations: 2.016 MB / 1.399 GB, free: 8.977 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.053, allocations: 0 / 1.399 GB, free: 8.977 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/1.053, allocations: 154.1 kB / 1.4 GB, free: 8.941 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/1.054, allocations: 78.38 kB / 1.4 GB, free: 8.898 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/1.054, allocations: 24.86 kB / 1.4 GB, free: 8.883 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/1.056, allocations: 1.666 MB / 1.401 GB, free: 7.258 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.056, allocations: 3.938 kB / 1.401 GB, free: 7.254 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/1.058, allocations: 1.053 MB / 1.402 GB, free: 6.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/1.059, allocations: 278 kB / 1.403 GB, free: 6.418 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.059, allocations: 21.78 kB / 1.403 GB, free: 6.402 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/1.06, allocations: 74.86 kB / 1.403 GB, free: 6.363 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.06, allocations: 77.39 kB / 1.403 GB, free: 6.324 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/1.06, allocations: 39.06 kB / 1.403 GB, free: 6.309 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005949/1.061, allocations: 467.3 kB / 1.403 GB, free: 6.047 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.061, allocations: 0 / 1.403 GB, free: 6.047 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008948/1.061, allocations: 326.9 kB / 1.404 GB, free: 5.953 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004189/1.066, allocations: 2.107 MB / 1.406 GB, free: 4.641 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.067, allocations: 0.8316 MB / 1.406 GB, free: 4.207 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.067, allocations: 2.812 kB / 1.406 GB, free: 4.207 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009541/1.068, allocations: 0.5487 MB / 1.407 GB, free: 3.895 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.07, allocations: 311.4 kB / 1.407 GB, free: 3.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/1.081, allocations: 6.41 MB / 1.414 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/1.081, allocations: 1.03 MB / 1.415 GB, free: 13.56 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000879/1.082, allocations: 270.9 kB / 1.415 GB, free: 13.29 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006252/1.083, allocations: 411.3 kB / 1.415 GB, free: 12.89 MB / 1.107 GB Notification: Performance of SimCode: time 2.945e-06/1.083, allocations: 0 / 1.415 GB, free: 12.89 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/1.145, allocations: 22.25 MB / 1.437 GB, free: 6.984 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.13/19.28, allocations: 9.406 kB / 1.437 GB, free: 6.977 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches