Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_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.004571/0.004571, allocations: 100.5 kB / 15.73 MB, free: 6.062 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.00128/0.00128, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 2.727/2.727, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6445/0.6465, allocations: 159.1 MB / 1.22 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006472/0.653, allocations: 4.787 MB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.8177, allocations: 150.6 MB / 1.372 GB, free: 6.09 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000669/0.8184, allocations: 15.94 kB / 1.372 GB, free: 6.074 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/0.8191, allocations: 186.2 kB / 1.372 GB, free: 5.891 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.8209, allocations: 0.5415 MB / 1.373 GB, free: 5.352 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.8228, allocations: 0.833 MB / 1.373 GB, free: 4.523 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.8245, allocations: 1.37 MB / 1.375 GB, free: 3.148 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.8253, allocations: 0.5685 MB / 1.375 GB, free: 2.555 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.8259, allocations: 478.4 kB / 1.376 GB, free: 2.086 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.8265, allocations: 497.8 kB / 1.376 GB, free: 1.598 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.8267, allocations: 116 kB / 1.376 GB, free: 1.484 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008588/0.8276, allocations: 483.6 kB / 1.377 GB, free: 1.012 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.8279, allocations: 299 kB / 1.377 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.8284, allocations: 0.5558 MB / 1.378 GB, free: 164 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.8302, allocations: 1.618 MB / 1.379 GB, free: 14.54 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8302, allocations: 0 / 1.379 GB, free: 14.54 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8302, allocations: 0 / 1.379 GB, free: 14.54 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8302, allocations: 0 / 1.379 GB, free: 14.54 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002472/0.8327, allocations: 1.452 MB / 1.381 GB, free: 13.03 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.8328, allocations: 8.031 kB / 1.381 GB, free: 13.02 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.8329, allocations: 131.3 kB / 1.381 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009307/0.8339, allocations: 192.1 kB / 1.381 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.8351, allocations: 0.766 MB / 1.382 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.8351, allocations: 61.98 kB / 1.382 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.8352, allocations: 80 kB / 1.382 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.8368, allocations: 0.8989 MB / 1.383 GB, free: 10.81 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.8369, allocations: 0 / 1.383 GB, free: 10.81 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.612e-05/0.837, allocations: 36 kB / 1.383 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.837, allocations: 24 kB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.8389, allocations: 1.096 MB / 1.384 GB, free: 9.652 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.004058/0.843, allocations: 2.655 MB / 1.386 GB, free: 6.879 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.8446, allocations: 0.8639 MB / 1.387 GB, free: 5.996 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.8452, allocations: 306.7 kB / 1.388 GB, free: 5.688 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.8453, allocations: 36.48 kB / 1.388 GB, free: 5.652 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009062/0.8462, allocations: 496.7 kB / 1.388 GB, free: 5.148 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 2.424e-06/0.8462, allocations: 0 / 1.388 GB, free: 5.148 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.003319/0.8495, allocations: 1.186 MB / 1.389 GB, free: 3.938 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.8497, allocations: 192.6 kB / 1.389 GB, free: 3.707 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008011/0.8505, allocations: 0.6214 MB / 1.39 GB, free: 3.082 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.8506, allocations: 41.7 kB / 1.39 GB, free: 3.035 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.8509, allocations: 393 kB / 1.39 GB, free: 2.645 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.8511, allocations: 273.7 kB / 1.391 GB, free: 2.375 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.8514, allocations: 142.6 kB / 1.391 GB, free: 2.23 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.8516, allocations: 386.7 kB / 1.391 GB, free: 1.844 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.8521, allocations: 245.9 kB / 1.391 GB, free: 1.602 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.8528, allocations: 358.5 kB / 1.392 GB, free: 1.227 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8539, allocations: 0.5682 MB / 1.392 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8539, allocations: 4 kB / 1.392 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001945/0.8559, allocations: 0.8023 MB / 1.393 GB, free: 15.83 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8559, allocations: 4 kB / 1.393 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8559, allocations: 0 / 1.393 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.8566, allocations: 84.86 kB / 1.393 GB, free: 15.74 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.8572, allocations: 147.8 kB / 1.393 GB, free: 15.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.8594, allocations: 1.634 MB / 1.395 GB, free: 13.81 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.8601, allocations: 83.52 kB / 1.395 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.8601, allocations: 27.98 kB / 1.395 GB, free: 13.7 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.0003802/0.8605, allocations: 274.4 kB / 1.395 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.8607, allocations: 87.44 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.8632, allocations: 1.05 MB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.8632, allocations: 8 kB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.8632, allocations: 0 / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.8632, allocations: 7.922 kB / 1.396 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.8665, allocations: 1.908 MB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.8665, allocations: 0 / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.8671, allocations: 143.8 kB / 1.398 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.8676, allocations: 80.77 kB / 1.399 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.8677, allocations: 23.98 kB / 1.399 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.8698, allocations: 1.67 MB / 1.4 GB, free: 8.227 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8698, allocations: 0 / 1.4 GB, free: 8.227 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.8719, allocations: 0.9868 MB / 1.401 GB, free: 7.223 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.8722, allocations: 272.2 kB / 1.401 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.8723, allocations: 16 kB / 1.401 GB, free: 6.922 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.873, allocations: 75.8 kB / 1.401 GB, free: 6.848 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.8732, allocations: 68.91 kB / 1.402 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.8733, allocations: 36.03 kB / 1.402 GB, free: 6.742 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005715/0.8739, allocations: 451 kB / 1.402 GB, free: 6.305 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8739, allocations: 0 / 1.402 GB, free: 6.305 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007834/0.8747, allocations: 319.2 kB / 1.402 GB, free: 5.992 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.004197/0.8789, allocations: 2.045 MB / 1.404 GB, free: 4.109 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.8805, allocations: 0.7885 MB / 1.405 GB, free: 3.305 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8806, allocations: 0 / 1.405 GB, free: 3.305 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009868/0.8815, allocations: 0.5119 MB / 1.406 GB, free: 2.785 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8828, allocations: 309.3 kB / 1.406 GB, free: 2.504 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.893, allocations: 6.151 MB / 1.412 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.8937, allocations: 1.012 MB / 1.413 GB, free: 11.2 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007565/0.8945, allocations: 270.5 kB / 1.413 GB, free: 10.93 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.895, allocations: 371.3 kB / 1.413 GB, free: 10.57 MB / 1.139 GB Notification: Performance of SimCode: time 2.424e-06/0.895, allocations: 0 / 1.413 GB, free: 10.57 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05571/0.9508, allocations: 21.32 MB / 1.434 GB, free: 5.594 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.53, allocations: 7.781 kB / 1.434 GB, free: 5.59 MB / 1.154 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches