Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_10_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.001099/0.001099, 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.001209/0.001209, 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.361/2.361, allocations: 437.1 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4886, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005856/0.4945, allocations: 4.824 MB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1364/0.6309, allocations: 150.6 MB / 1.169 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.6316, allocations: 15.94 kB / 1.169 GB, free: 6.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006175/0.6323, allocations: 190.2 kB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.634, allocations: 0.5436 MB / 1.17 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.6358, allocations: 0.8297 MB / 1.171 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.6372, allocations: 1.37 MB / 1.172 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009021/0.6381, allocations: 0.5947 MB / 1.173 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.6388, allocations: 486.3 kB / 1.173 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.6394, allocations: 0.5017 MB / 1.174 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.6396, allocations: 116 kB / 1.174 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007863/0.6404, allocations: 463.7 kB / 1.174 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002783/0.6407, allocations: 295 kB / 1.174 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.6413, allocations: 0.5636 MB / 1.175 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.6431, allocations: 1.601 MB / 1.177 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6431, allocations: 3.938 kB / 1.177 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6431, allocations: 0 / 1.177 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.897e-05/0.6431, allocations: 0 / 1.177 GB, free: 14.9 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002475/0.6456, allocations: 1.422 MB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6457, allocations: 8.031 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.6458, allocations: 139.4 kB / 1.178 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.6467, allocations: 179.4 kB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/0.6477, allocations: 0.7381 MB / 1.179 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/0.6477, allocations: 73.98 kB / 1.179 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.6478, allocations: 76 kB / 1.179 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.6493, allocations: 0.9223 MB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.6493, allocations: 0 / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.6494, allocations: 32 kB / 1.18 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.6494, allocations: 23.94 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.651, allocations: 1.108 MB / 1.181 GB, free: 10.04 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.00358/0.6546, allocations: 2.732 MB / 1.184 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.656, allocations: 0.8934 MB / 1.185 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.6565, allocations: 306.6 kB / 1.185 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.816e-05/0.6566, allocations: 28.61 kB / 1.185 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007981/0.6574, allocations: 0.4913 MB / 1.185 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.154e-06/0.6574, allocations: 0 / 1.185 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002854/0.6603, allocations: 1.194 MB / 1.187 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.6604, allocations: 188.6 kB / 1.187 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.6611, allocations: 0.6253 MB / 1.187 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.6611, allocations: 41.7 kB / 1.187 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.6614, allocations: 392.3 kB / 1.188 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.6616, allocations: 252.4 kB / 1.188 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.6618, allocations: 150.5 kB / 1.188 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6619, allocations: 386.7 kB / 1.189 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.6624, allocations: 249.9 kB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.663, allocations: 362.5 kB / 1.189 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.664, allocations: 0.5722 MB / 1.19 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.664, allocations: 4 kB / 1.19 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001713/0.6657, allocations: 0.798 MB / 1.191 GB, free: 104 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.6657, allocations: 8.094 kB / 1.191 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6658, allocations: 0 / 1.191 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005541/0.6663, allocations: 88.66 kB / 1.191 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.6669, allocations: 151.9 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.6688, allocations: 1.656 MB / 1.192 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.6694, allocations: 83.33 kB / 1.192 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.6694, allocations: 31.97 kB / 1.192 GB, free: 13.93 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: 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.0003162/0.6698, allocations: 265.7 kB / 1.193 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.6699, allocations: 82.97 kB / 1.193 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.6721, allocations: 1.062 MB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6721, allocations: 11.94 kB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6721, allocations: 0 / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6721, allocations: 7.984 kB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.675, allocations: 1.966 MB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.675, allocations: 0 / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.6755, allocations: 143.8 kB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.676, allocations: 76.77 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.676, allocations: 23.98 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.6778, allocations: 1.681 MB / 1.198 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6778, allocations: 64 / 1.198 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.6796, allocations: 0.996 MB / 1.199 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.68, allocations: 275.7 kB / 1.199 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.6801, allocations: 16 kB / 1.199 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.6807, allocations: 63.92 kB / 1.199 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.6809, allocations: 64.91 kB / 1.199 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.6809, allocations: 43.97 kB / 1.199 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000486/0.6814, allocations: 451 kB / 1.2 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6814, allocations: 0 / 1.2 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007286/0.6822, allocations: 319.1 kB / 1.2 GB, free: 6.152 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: 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.00319/0.6854, allocations: 2.044 MB / 1.202 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.6875, allocations: 0.9991 MB / 1.203 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6875, allocations: 0 / 1.203 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000882/0.6884, allocations: 0.5161 MB / 1.203 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.6896, allocations: 307.5 kB / 1.204 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009073/0.6986, allocations: 6.405 MB / 1.21 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/0.6992, allocations: 1.027 MB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007565/0.7, allocations: 254.7 kB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.7005, allocations: 375.3 kB / 1.211 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.7005, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/0.7446, allocations: 21.35 MB / 1.232 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.79, allocations: 7.938 kB / 1.232 GB, free: 5.238 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches