Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 132 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.001175/0.001175, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.363/2.363, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4784, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005509/0.4839, allocations: 4.791 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1316/0.6156, allocations: 150.6 MB / 1.169 GB, free: 6.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006605/0.6163, allocations: 15.94 kB / 1.169 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.6168, allocations: 190.2 kB / 1.169 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.6185, allocations: 0.5493 MB / 1.17 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.6202, allocations: 0.8228 MB / 1.171 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.6214, allocations: 1.362 MB / 1.172 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.6222, allocations: 0.5675 MB / 1.173 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.6228, allocations: 474.4 kB / 1.173 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.6233, allocations: 0.49 MB / 1.173 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.6235, allocations: 116 kB / 1.174 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.6242, allocations: 459.7 kB / 1.174 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.6245, allocations: 295 kB / 1.174 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.6249, allocations: 0.548 MB / 1.175 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.6264, allocations: 1.569 MB / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6264, allocations: 0 / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6264, allocations: 0 / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.6264, allocations: 0 / 1.176 GB, free: 15.05 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002286/0.6287, allocations: 1.416 MB / 1.178 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6288, allocations: 16.03 kB / 1.178 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.6289, allocations: 131.3 kB / 1.178 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.6298, allocations: 183.4 kB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.6307, allocations: 0.7303 MB / 1.179 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.6308, allocations: 66 kB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.6309, allocations: 80 kB / 1.179 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.6322, allocations: 0.8989 MB / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.6322, allocations: 0 / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.6323, allocations: 36 kB / 1.18 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.6323, allocations: 20 kB / 1.18 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.6339, allocations: 1.097 MB / 1.181 GB, free: 10.24 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.003456/0.6374, allocations: 2.685 MB / 1.184 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.6388, allocations: 0.8702 MB / 1.184 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.6392, allocations: 298.3 kB / 1.185 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.61e-05/0.6393, allocations: 32.56 kB / 1.185 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000793/0.6401, allocations: 0.4912 MB / 1.185 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.004e-06/0.6401, allocations: 0 / 1.185 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.002912/0.6431, allocations: 1.186 MB / 1.186 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.6431, allocations: 188.6 kB / 1.187 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.6438, allocations: 0.6214 MB / 1.187 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.6439, allocations: 41.7 kB / 1.187 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.6441, allocations: 396.3 kB / 1.188 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.6443, allocations: 252.4 kB / 1.188 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.6445, allocations: 146.5 kB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6447, allocations: 390.7 kB / 1.188 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.6451, allocations: 237.9 kB / 1.189 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.6457, allocations: 362.5 kB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.6467, allocations: 0.5721 MB / 1.189 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6467, allocations: 0 / 1.189 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001721/0.6484, allocations: 0.7902 MB / 1.19 GB, free: 424 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6484, allocations: 8 kB / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6484, allocations: 0 / 1.19 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.649, allocations: 84.86 kB / 1.19 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.6496, allocations: 143.8 kB / 1.19 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.6515, allocations: 1.634 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.6521, allocations: 93.69 kB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.6522, allocations: 23.98 kB / 1.192 GB, free: 14.29 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.0003055/0.6525, allocations: 265.7 kB / 1.192 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6526, allocations: 82.97 kB / 1.192 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.6548, allocations: 1.054 MB / 1.194 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6548, allocations: 12 kB / 1.194 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6548, allocations: 4 kB / 1.194 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6548, allocations: 11.86 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.6576, allocations: 1.907 MB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6576, allocations: 0 / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.6582, allocations: 147.8 kB / 1.196 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.6586, allocations: 68.78 kB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.6587, allocations: 23.98 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6604, allocations: 1.662 MB / 1.197 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6604, allocations: 0 / 1.197 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.6622, allocations: 0.9881 MB / 1.198 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.6625, allocations: 267.8 kB / 1.198 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.6626, allocations: 19.98 kB / 1.199 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.6632, allocations: 61.34 kB / 1.199 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6634, allocations: 72.91 kB / 1.199 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.6634, allocations: 35.97 kB / 1.199 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004741/0.6639, allocations: 462.9 kB / 1.199 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6639, allocations: 0 / 1.199 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007027/0.6646, allocations: 307.3 kB / 1.199 GB, free: 6.602 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.003189/0.6678, allocations: 2.046 MB / 1.201 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.6699, allocations: 0.9795 MB / 1.202 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6699, allocations: 7.938 kB / 1.202 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.6707, allocations: 0.5121 MB / 1.203 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6719, allocations: 301.9 kB / 1.203 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008669/0.6805, allocations: 6.341 MB / 1.209 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.681, allocations: 1.023 MB / 1.21 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007136/0.6818, allocations: 258.6 kB / 1.211 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.6822, allocations: 378.9 kB / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of SimCode: time 1.503e-06/0.6822, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04346/0.7257, allocations: 21.09 MB / 1.232 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.8, allocations: 12.14 kB / 1.232 GB, free: 6.062 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches