Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.00693/0.00693, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001854/0.001855, allocations: 193.7 kB / 16.68 MB, free: 6.363 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.293 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 5.053/5.053, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003225/0.003225, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4418, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.01636/0.4582, allocations: 6.921 MB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 1.735/2.193, allocations: 151.3 MB / 1.375 GB, free: 8.926 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/2.197, allocations: 18.34 kB / 1.375 GB, free: 8.922 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/2.198, allocations: 264.8 kB / 1.375 GB, free: 8.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007061/2.206, allocations: 0.7945 MB / 1.376 GB, free: 8.266 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005767/2.211, allocations: 0.9894 MB / 1.377 GB, free: 7.734 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006564/2.218, allocations: 2.146 MB / 1.379 GB, free: 6.617 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/2.221, allocations: 1.029 MB / 1.38 GB, free: 6.055 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/2.224, allocations: 0.8284 MB / 1.381 GB, free: 5.637 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003842/2.228, allocations: 0.9097 MB / 1.381 GB, free: 5.117 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001276/2.23, allocations: 207.1 kB / 1.382 GB, free: 5.117 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/2.233, allocations: 0.5617 MB / 1.382 GB, free: 4.938 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/2.234, allocations: 491.9 kB / 1.383 GB, free: 4.535 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002625/2.237, allocations: 0.9534 MB / 1.384 GB, free: 3.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008624/2.246, allocations: 2.577 MB / 1.386 GB, free: 1.941 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/2.246, allocations: 3.938 kB / 1.386 GB, free: 1.938 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.348e-06/2.246, allocations: 3.281 kB / 1.386 GB, free: 1.938 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001521/2.246, allocations: 0 / 1.386 GB, free: 1.938 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.01035/2.256, allocations: 2.117 MB / 1.388 GB, free: 316 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 8.301e-05/2.257, allocations: 12.75 kB / 1.388 GB, free: 312 kB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005687/2.257, allocations: 223.6 kB / 1.388 GB, free: 128 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/2.259, allocations: 270.7 kB / 1.389 GB, free: 15.99 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/2.263, allocations: 1 MB / 1.39 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/2.263, allocations: 114 kB / 1.39 GB, free: 15.13 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004446/2.264, allocations: 147.2 kB / 1.39 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/2.27, allocations: 1.584 MB / 1.391 GB, free: 14.09 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/2.27, allocations: 0 / 1.391 GB, free: 14.09 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/2.27, allocations: 67.16 kB / 1.391 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/2.27, allocations: 41 kB / 1.392 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005491/2.276, allocations: 1.633 MB / 1.393 GB, free: 13.25 MB / 1.092 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.01493/2.291, allocations: 4.528 MB / 1.398 GB, free: 9.656 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/2.295, allocations: 1.184 MB / 1.399 GB, free: 9.066 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/2.297, allocations: 486.3 kB / 1.399 GB, free: 8.816 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/2.297, allocations: 49 kB / 1.399 GB, free: 8.789 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/2.3, allocations: 0.7848 MB / 1.4 GB, free: 8.293 MB / 1.092 GB Notification: Performance of pre-optimization done (n=128): time 5.079e-06/2.3, allocations: 4 kB / 1.4 GB, free: 8.289 MB / 1.092 GB Notification: Performance of matching and sorting (n=128): time 0.007031/2.307, allocations: 1.848 MB / 1.402 GB, free: 7.316 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/2.307, allocations: 194 kB / 1.402 GB, free: 7.098 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/2.31, allocations: 0.8688 MB / 1.403 GB, free: 6.594 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/2.31, allocations: 52.92 kB / 1.403 GB, free: 6.543 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/2.311, allocations: 0.6187 MB / 1.403 GB, free: 5.992 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/2.311, allocations: 428.1 kB / 1.404 GB, free: 5.621 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005686/2.312, allocations: 240.4 kB / 1.404 GB, free: 5.473 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002519/2.312, allocations: 361.2 kB / 1.404 GB, free: 5.125 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/2.313, allocations: 430.4 kB / 1.405 GB, free: 4.91 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/2.315, allocations: 0.5589 MB / 1.405 GB, free: 4.57 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/2.317, allocations: 0.9629 MB / 1.406 GB, free: 4.059 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/2.317, allocations: 0 / 1.406 GB, free: 4.059 MB / 1.092 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004281/2.322, allocations: 1.292 MB / 1.408 GB, free: 3.402 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/2.322, allocations: 9.297 kB / 1.408 GB, free: 3.398 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/2.322, allocations: 3.938 kB / 1.408 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007994/2.323, allocations: 82.88 kB / 1.408 GB, free: 3.355 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/2.324, allocations: 256.4 kB / 1.408 GB, free: 3.289 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/2.328, allocations: 1.657 MB / 1.41 GB, free: 1.668 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/2.33, allocations: 154.5 kB / 1.41 GB, free: 1.562 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/2.33, allocations: 51.19 kB / 1.41 GB, free: 1.543 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.001226/2.331, allocations: 346 kB / 1.41 GB, free: 1.281 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005164/2.332, allocations: 128.5 kB / 1.41 GB, free: 1.211 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/2.337, allocations: 1.707 MB / 1.412 GB, free: 268 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/2.337, allocations: 13.22 kB / 1.412 GB, free: 268 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/2.337, allocations: 6.438 kB / 1.412 GB, free: 264 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/2.337, allocations: 7.969 kB / 1.412 GB, free: 256 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/2.34, allocations: 1.414 MB / 1.413 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/2.34, allocations: 0 / 1.413 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/2.342, allocations: 219.6 kB / 1.414 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006647/2.342, allocations: 72.78 kB / 1.414 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/2.343, allocations: 35.97 kB / 1.414 GB, free: 14.47 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002789/2.345, allocations: 1.675 MB / 1.415 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/2.345, allocations: 4.031 kB / 1.415 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/2.35, allocations: 1.415 MB / 1.417 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/2.351, allocations: 379.8 kB / 1.417 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/2.351, allocations: 43.94 kB / 1.417 GB, free: 10.78 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/2.352, allocations: 93.78 kB / 1.417 GB, free: 10.69 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/2.353, allocations: 109.2 kB / 1.417 GB, free: 10.58 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/2.353, allocations: 51.91 kB / 1.417 GB, free: 10.53 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001382/2.354, allocations: 0.6542 MB / 1.418 GB, free: 9.867 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/2.354, allocations: 0 / 1.418 GB, free: 9.867 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001966/2.356, allocations: 486.8 kB / 1.418 GB, free: 9.391 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.007003/2.363, allocations: 2.508 MB / 1.421 GB, free: 7.039 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003784/2.367, allocations: 1.236 MB / 1.422 GB, free: 5.793 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/2.367, allocations: 4 kB / 1.422 GB, free: 5.789 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/2.369, allocations: 0.7401 MB / 1.423 GB, free: 5.035 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/2.372, allocations: 357.2 kB / 1.423 GB, free: 4.707 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/2.396, allocations: 9.325 MB / 1.432 GB, free: 11.23 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/2.397, allocations: 1.236 MB / 1.433 GB, free: 9.957 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001841/2.399, allocations: 334.1 kB / 1.434 GB, free: 9.629 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/2.4, allocations: 0.6281 MB / 1.434 GB, free: 9 MB / 1.123 GB Notification: Performance of SimCode: time 1.182e-06/2.4, allocations: 4 kB / 1.434 GB, free: 8.996 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/2.627, allocations: 31.18 MB / 1.465 GB, free: 10.2 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.64/35.26, allocations: 11.94 kB / 1.465 GB, free: 10.19 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches