Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_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.001247/0.001248, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 197 kB / 16.53 MB, free: 6.664 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.229/1.229, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.334/2.334, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.8694 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4955, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005548/0.5011, allocations: 4.925 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1317/0.6328, allocations: 150.6 MB / 1.169 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000626/0.6335, allocations: 19.88 kB / 1.169 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.6339, allocations: 190.2 kB / 1.17 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6354, allocations: 0.5624 MB / 1.17 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.637, allocations: 0.8474 MB / 1.171 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.638, allocations: 1.417 MB / 1.172 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006854/0.6387, allocations: 0.5921 MB / 1.173 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.6392, allocations: 0.4944 MB / 1.173 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.6398, allocations: 0.5251 MB / 1.174 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.6399, allocations: 120 kB / 1.174 GB, free: 1.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.6406, allocations: 455.7 kB / 1.174 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.6408, allocations: 303.1 kB / 1.175 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.6412, allocations: 0.5752 MB / 1.175 GB, free: 276 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.6425, allocations: 1.628 MB / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6426, allocations: 0 / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6426, allocations: 0 / 1.177 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.6426, allocations: 0 / 1.177 GB, free: 14.64 MB / 0.9356 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.002214/0.6448, allocations: 1.467 MB / 1.178 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.6448, allocations: 15.97 kB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.645, allocations: 131.5 kB / 1.178 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.6458, allocations: 195.4 kB / 1.179 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008769/0.6467, allocations: 0.7583 MB / 1.179 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.6468, allocations: 62 kB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.6469, allocations: 80 kB / 1.179 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6482, allocations: 0.9418 MB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6482, allocations: 0 / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.6483, allocations: 36 kB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.6484, allocations: 24 kB / 1.18 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.65, allocations: 1.124 MB / 1.182 GB, free: 9.66 MB / 0.9356 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.00339/0.6534, allocations: 2.747 MB / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.6548, allocations: 0.9123 MB / 1.185 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.6553, allocations: 306.7 kB / 1.185 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.925e-05/0.6554, allocations: 36.67 kB / 1.185 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008214/0.6562, allocations: 0.512 MB / 1.186 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.914e-06/0.6562, allocations: 3.938 kB / 1.186 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.002945/0.6592, allocations: 1.255 MB / 1.187 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.6592, allocations: 196.9 kB / 1.187 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.6599, allocations: 0.641 MB / 1.188 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.66, allocations: 41.7 kB / 1.188 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.6602, allocations: 400.5 kB / 1.188 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.6604, allocations: 272 kB / 1.189 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.6606, allocations: 154.5 kB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6607, allocations: 390.8 kB / 1.189 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.6612, allocations: 253.9 kB / 1.189 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.6618, allocations: 370.5 kB / 1.19 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6628, allocations: 0.6047 MB / 1.19 GB, free: 312 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6628, allocations: 0 / 1.19 GB, free: 312 kB / 0.9356 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001776/0.6646, allocations: 0.8254 MB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6646, allocations: 13.34 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6646, allocations: 96 / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/0.6652, allocations: 88.7 kB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.6658, allocations: 159.8 kB / 1.191 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.6676, allocations: 1.63 MB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.6682, allocations: 93.42 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.6683, allocations: 35.97 kB / 1.193 GB, free: 13.31 MB / 0.9512 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.0003192/0.6686, allocations: 278.5 kB / 1.193 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.6688, allocations: 82.97 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.671, allocations: 1.144 MB / 1.195 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6711, allocations: 8 kB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.6711, allocations: 0 / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6711, allocations: 7.984 kB / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.674, allocations: 2.016 MB / 1.197 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.674, allocations: 0 / 1.197 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.6746, allocations: 159.8 kB / 1.197 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/0.675, allocations: 68.78 kB / 1.197 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.675, allocations: 27.97 kB / 1.197 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.6767, allocations: 1.662 MB / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6767, allocations: 4.062 kB / 1.198 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.6786, allocations: 1.047 MB / 1.199 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.6789, allocations: 283.6 kB / 1.2 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.679, allocations: 27.98 kB / 1.2 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.6797, allocations: 59.94 kB / 1.2 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.6798, allocations: 80.89 kB / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.6799, allocations: 39.97 kB / 1.2 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004701/0.6804, allocations: 467 kB / 1.2 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6804, allocations: 0 / 1.2 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007391/0.6811, allocations: 327.2 kB / 1.201 GB, free: 5.285 MB / 0.9512 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.003186/0.6843, allocations: 2.11 MB / 1.203 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.6865, allocations: 1.05 MB / 1.204 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6865, allocations: 4 kB / 1.204 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008582/0.6874, allocations: 0.5355 MB / 1.204 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.6885, allocations: 300.2 kB / 1.205 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008839/0.6974, allocations: 6.619 MB / 1.211 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.6978, allocations: 1.036 MB / 1.212 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007317/0.6986, allocations: 274.8 kB / 1.212 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.6991, allocations: 415.2 kB / 1.213 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.6991, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04353/0.7426, allocations: 22 MB / 1.234 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.98, allocations: 7.781 kB / 1.234 GB, free: 3.297 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches