Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_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.01025/0.01025, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.002586/0.002586, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.464/2.464, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.939/3.939, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.8 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8227/0.8247, allocations: 159.1 MB / 1.22 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006839/0.8316, allocations: 4.815 MB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1817/1.013, allocations: 150.6 MB / 1.372 GB, free: 6.051 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/1.014, allocations: 15.94 kB / 1.372 GB, free: 6.035 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008117/1.015, allocations: 190.2 kB / 1.372 GB, free: 5.848 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/1.017, allocations: 0.5417 MB / 1.373 GB, free: 5.305 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/1.02, allocations: 0.8468 MB / 1.373 GB, free: 4.465 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001965/1.022, allocations: 1.378 MB / 1.375 GB, free: 3.082 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/1.023, allocations: 0.6012 MB / 1.375 GB, free: 2.457 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008589/1.023, allocations: 486.3 kB / 1.376 GB, free: 1.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008248/1.024, allocations: 0.5017 MB / 1.376 GB, free: 1.477 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000261/1.025, allocations: 116 kB / 1.376 GB, free: 1.363 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/1.026, allocations: 487.6 kB / 1.377 GB, free: 0.8867 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/1.026, allocations: 303.1 kB / 1.377 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000724/1.027, allocations: 0.5519 MB / 1.378 GB, free: 36 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/1.029, allocations: 1.655 MB / 1.379 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.029, allocations: 0 / 1.379 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.743e-06/1.029, allocations: 0 / 1.379 GB, free: 14.38 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.443e-05/1.029, allocations: 0 / 1.379 GB, free: 14.38 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002849/1.032, allocations: 1.459 MB / 1.381 GB, free: 12.86 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.032, allocations: 8.031 kB / 1.381 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/1.032, allocations: 135.4 kB / 1.381 GB, free: 12.71 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009449/1.033, allocations: 196 kB / 1.381 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/1.035, allocations: 0.7699 MB / 1.382 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/1.035, allocations: 66 kB / 1.382 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/1.035, allocations: 80 kB / 1.382 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/1.036, allocations: 0.9184 MB / 1.383 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.036, allocations: 0 / 1.383 GB, free: 10.6 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/1.037, allocations: 32 kB / 1.383 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/1.037, allocations: 28 kB / 1.383 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.038, allocations: 1.108 MB / 1.384 GB, free: 9.434 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.004542/1.043, allocations: 2.714 MB / 1.387 GB, free: 6.602 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/1.045, allocations: 0.8988 MB / 1.388 GB, free: 5.684 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005695/1.045, allocations: 302.7 kB / 1.388 GB, free: 5.383 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/1.045, allocations: 28.61 kB / 1.388 GB, free: 5.355 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009009/1.046, allocations: 0.4913 MB / 1.388 GB, free: 4.844 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 2.335e-06/1.046, allocations: 0 / 1.388 GB, free: 4.844 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.003267/1.05, allocations: 1.188 MB / 1.39 GB, free: 3.633 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.05, allocations: 192.6 kB / 1.39 GB, free: 3.402 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/1.051, allocations: 0.6331 MB / 1.39 GB, free: 2.766 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/1.051, allocations: 41.7 kB / 1.39 GB, free: 2.719 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/1.051, allocations: 397.1 kB / 1.391 GB, free: 2.324 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.051, allocations: 265.7 kB / 1.391 GB, free: 2.062 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/1.052, allocations: 146.6 kB / 1.391 GB, free: 1.914 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002068/1.052, allocations: 394.7 kB / 1.391 GB, free: 1.52 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/1.052, allocations: 241.9 kB / 1.392 GB, free: 1.281 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/1.053, allocations: 354.6 kB / 1.392 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.054, allocations: 0.5838 MB / 1.393 GB, free: 324 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.054, allocations: 3.938 kB / 1.393 GB, free: 320 kB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002048/1.056, allocations: 0.8024 MB / 1.393 GB, free: 15.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.056, allocations: 8 kB / 1.393 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.056, allocations: 4.094 kB / 1.393 GB, free: 15.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/1.057, allocations: 84.7 kB / 1.394 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/1.058, allocations: 155.8 kB / 1.394 GB, free: 15.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.06, allocations: 1.634 MB / 1.395 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007384/1.061, allocations: 98.69 kB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-05/1.061, allocations: 35.98 kB / 1.395 GB, free: 13.34 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 (85): * Single equations (assignments): 84 * 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.0004948/1.061, allocations: 265.6 kB / 1.396 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/1.061, allocations: 91.42 kB / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/1.064, allocations: 1.062 MB / 1.397 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.064, allocations: 15.94 kB / 1.397 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/1.064, allocations: 0 / 1.397 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.064, allocations: 3.984 kB / 1.397 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/1.068, allocations: 1.967 MB / 1.399 GB, free: 9.852 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.068, allocations: 0 / 1.399 GB, free: 9.852 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/1.068, allocations: 139.8 kB / 1.399 GB, free: 9.715 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/1.069, allocations: 76.78 kB / 1.399 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/1.069, allocations: 23.98 kB / 1.399 GB, free: 9.613 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/1.071, allocations: 1.674 MB / 1.401 GB, free: 7.793 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.071, allocations: 0 / 1.401 GB, free: 7.793 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/1.073, allocations: 1.002 MB / 1.402 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/1.073, allocations: 276.2 kB / 1.402 GB, free: 6.488 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.074, allocations: 23.98 kB / 1.402 GB, free: 6.465 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/1.074, allocations: 55.94 kB / 1.402 GB, free: 6.41 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.074, allocations: 76.89 kB / 1.402 GB, free: 6.332 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/1.074, allocations: 35.92 kB / 1.402 GB, free: 6.297 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006178/1.075, allocations: 459 kB / 1.402 GB, free: 5.852 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.31e-07/1.075, allocations: 0 / 1.402 GB, free: 5.852 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009662/1.076, allocations: 319.1 kB / 1.403 GB, free: 5.539 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 (90): * Single equations (assignments): 84 * 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.004461/1.081, allocations: 2.057 MB / 1.405 GB, free: 3.637 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00188/1.082, allocations: 0.7922 MB / 1.406 GB, free: 2.832 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.082, allocations: 192 / 1.406 GB, free: 2.832 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.084, allocations: 0.5197 MB / 1.406 GB, free: 2.301 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.085, allocations: 301.6 kB / 1.406 GB, free: 2.027 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.097, allocations: 6.204 MB / 1.412 GB, free: 11.71 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/1.098, allocations: 1.015 MB / 1.413 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008752/1.099, allocations: 262.6 kB / 1.414 GB, free: 10.4 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/1.099, allocations: 375.3 kB / 1.414 GB, free: 10.03 MB / 1.139 GB Notification: Performance of SimCode: time 1.022e-06/1.099, allocations: 0 / 1.414 GB, free: 10.03 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06896/1.168, allocations: 21.58 MB / 1.435 GB, free: 4.77 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.55/26.71, allocations: 4.062 kB / 1.435 GB, free: 4.766 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.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_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches