Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.00184/0.00184, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.2 MB / 0.665 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.89 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.6736, allocations: 140.4 MB / 0.9498 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004975/0.6786, allocations: 4.298 MB / 0.954 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.8437, allocations: 148.3 MB / 1.099 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.8449, allocations: 11.94 kB / 1.099 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.8458, allocations: 138.9 kB / 1.099 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.8481, allocations: 447.8 kB / 1.099 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.8505, allocations: 0.7387 MB / 1.1 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.8523, allocations: 1.277 MB / 1.101 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.8533, allocations: 0.6061 MB / 1.102 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007926/0.8541, allocations: 470.3 kB / 1.102 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007966/0.8549, allocations: 494.7 kB / 1.103 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/0.8552, allocations: 112 kB / 1.103 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.8564, allocations: 455.6 kB / 1.103 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.8567, allocations: 291.1 kB / 1.104 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006297/0.8574, allocations: 0.5246 MB / 1.104 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.859, allocations: 1.193 MB / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.859, allocations: 0 / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.859, allocations: 4 kB / 1.105 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.828e-05/0.859, allocations: 0 / 1.105 GB, free: 2.156 MB / 0.8575 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.002889/0.8619, allocations: 1.395 MB / 1.107 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.862, allocations: 12.03 kB / 1.107 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.863, allocations: 183.4 kB / 1.107 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.8641, allocations: 0.7307 MB / 1.108 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.8642, allocations: 62 kB / 1.108 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.8643, allocations: 79.98 kB / 1.108 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.8659, allocations: 0.9066 MB / 1.109 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8659, allocations: 0 / 1.109 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.866, allocations: 40 kB / 1.109 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.866, allocations: 20 kB / 1.109 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.8678, allocations: 1.1 MB / 1.11 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.872, allocations: 2.464 MB / 1.112 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.8736, allocations: 0.8655 MB / 1.113 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/0.8741, allocations: 302.6 kB / 1.113 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-05/0.8742, allocations: 28.59 kB / 1.113 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.8752, allocations: 491.1 kB / 1.114 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 8.416e-06/0.8753, allocations: 3.984 kB / 1.114 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003272/0.8785, allocations: 1.174 MB / 1.115 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.8786, allocations: 192.6 kB / 1.115 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/0.8795, allocations: 0.6176 MB / 1.116 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-05/0.8796, allocations: 45.69 kB / 1.116 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.88, allocations: 388.3 kB / 1.116 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.8802, allocations: 256.4 kB / 1.116 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.8805, allocations: 162.5 kB / 1.117 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.8807, allocations: 390.7 kB / 1.117 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005116/0.8812, allocations: 253.9 kB / 1.117 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.8818, allocations: 363 kB / 1.118 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.8829, allocations: 0.5994 MB / 1.118 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.8829, allocations: 0 / 1.118 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002011/0.8849, allocations: 0.8331 MB / 1.119 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.885, allocations: 8 kB / 1.119 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.885, allocations: 0 / 1.119 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.8856, allocations: 80.88 kB / 1.119 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.8863, allocations: 159.8 kB / 1.119 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.8887, allocations: 1.626 MB / 1.121 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.8895, allocations: 101.4 kB / 1.121 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.8896, allocations: 31.98 kB / 1.121 GB, free: 1.719 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0005339/0.8902, allocations: 271.5 kB / 1.121 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.8904, allocations: 82.97 kB / 1.121 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.8928, allocations: 1.042 MB / 1.122 GB, free: 312 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.8929, allocations: 12 kB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.8929, allocations: 3.984 kB / 1.122 GB, free: 296 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.8929, allocations: 11.86 kB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.8962, allocations: 1.895 MB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8963, allocations: 3.984 kB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.8968, allocations: 143.8 kB / 1.124 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.8973, allocations: 72.78 kB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.8973, allocations: 27.97 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.8992, allocations: 1.666 MB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8992, allocations: 4.031 kB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.9012, allocations: 0.9765 MB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.9016, allocations: 267.8 kB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.9018, allocations: 23.98 kB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.9025, allocations: 55.94 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.9027, allocations: 72.89 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.9028, allocations: 35.98 kB / 1.127 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006256/0.9034, allocations: 455 kB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9034, allocations: 3.938 kB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000971/0.9044, allocations: 303.3 kB / 1.128 GB, free: 10.06 MB / 0.8887 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.00145/0.9058, allocations: 0.6014 MB / 1.129 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.9082, allocations: 1.019 MB / 1.13 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.9082, allocations: 0 / 1.13 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009428/0.9092, allocations: 0.5121 MB / 1.13 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.9105, allocations: 299.4 kB / 1.13 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.9146, allocations: 2.169 MB / 1.133 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.9152, allocations: 1.015 MB / 1.134 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.9156, allocations: 115.4 kB / 1.134 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of SimCode: time 6.91e-07/0.9156, allocations: 0 / 1.134 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of Templates: time 0.02556/0.9412, allocations: 18.07 MB / 1.151 GB, free: 2.422 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches