Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 393.5 MB / 408.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 183.9 kB / 0.4902 GB, free: 2.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 108.1 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 14.38 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3336, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.84/5.173, allocations: 1.731 GB / 2.961 GB, free: 255.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/5.174, allocations: 102 kB / 2.961 GB, free: 255.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1246/5.298, allocations: 59.63 MB / 3.019 GB, free: 195.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.986e-06/5.298, allocations: 0 / 3.019 GB, free: 195.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.858e-05/5.299, allocations: 20 kB / 3.019 GB, free: 195.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002102/5.301, allocations: 1.179 MB / 3.02 GB, free: 194.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/5.301, allocations: 12.56 kB / 3.02 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008193/5.302, allocations: 190.5 kB / 3.02 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/5.302, allocations: 0.6075 MB / 3.021 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/5.302, allocations: 66 kB / 3.021 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/5.303, allocations: 76 kB / 3.021 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/5.304, allocations: 0.8637 MB / 3.022 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/5.304, allocations: 0 / 3.022 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/5.304, allocations: 35.95 kB / 3.022 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/5.304, allocations: 20 kB / 3.022 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/5.305, allocations: 1.085 MB / 3.023 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/5.309, allocations: 2.417 MB / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/5.31, allocations: 0.8102 MB / 3.026 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.489e-05/5.31, allocations: 32.61 kB / 3.026 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000678/5.311, allocations: 431.3 kB / 3.027 GB, free: 187.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.394e-06/5.311, allocations: 0 / 3.027 GB, free: 187.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002715/5.313, allocations: 1.108 MB / 3.028 GB, free: 186.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/5.314, allocations: 240 kB / 3.028 GB, free: 186.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/5.314, allocations: 0.5815 MB / 3.029 GB, free: 185.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/5.314, allocations: 41.7 kB / 3.029 GB, free: 185.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/5.315, allocations: 372.3 kB / 3.029 GB, free: 185.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/5.315, allocations: 244.5 kB / 3.029 GB, free: 185 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/5.315, allocations: 12 kB / 3.029 GB, free: 185 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001224/5.315, allocations: 382.8 kB / 3.03 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/5.315, allocations: 217.2 kB / 3.03 GB, free: 184.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/5.316, allocations: 332.5 kB / 3.03 GB, free: 184 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/5.316, allocations: 263.1 kB / 3.03 GB, free: 183.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/5.316, allocations: 8 kB / 3.03 GB, free: 183.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001499/5.318, allocations: 0.7352 MB / 3.031 GB, free: 183 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/5.318, allocations: 6.031 kB / 3.031 GB, free: 183 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/5.318, allocations: 4 kB / 3.031 GB, free: 183 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/5.318, allocations: 76.88 kB / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/5.319, allocations: 143.8 kB / 3.031 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/5.321, allocations: 1.532 MB / 3.033 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/5.321, allocations: 75.42 kB / 3.033 GB, free: 181 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/5.321, allocations: 36.05 kB / 3.033 GB, free: 181 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004218/5.322, allocations: 255.7 kB / 3.033 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/5.322, allocations: 75.39 kB / 3.033 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/5.324, allocations: 1.021 MB / 3.034 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/5.324, allocations: 8 kB / 3.034 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/5.324, allocations: 0 / 3.034 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/5.324, allocations: 11.94 kB / 3.034 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/5.327, allocations: 1.923 MB / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/5.327, allocations: 3.984 kB / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/5.327, allocations: 147.8 kB / 3.036 GB, free: 177.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/5.328, allocations: 84.77 kB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/5.328, allocations: 23.98 kB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/5.329, allocations: 1.559 MB / 3.038 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/5.329, allocations: 0 / 3.038 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/5.331, allocations: 0.9218 MB / 3.039 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/5.331, allocations: 283.8 kB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/5.332, allocations: 16 kB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/5.332, allocations: 63.95 kB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/5.332, allocations: 68.86 kB / 3.039 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/5.332, allocations: 31.98 kB / 3.039 GB, free: 174.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000521/5.333, allocations: 483 kB / 3.04 GB, free: 173.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/5.333, allocations: 0 / 3.04 GB, free: 173.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001134/5.334, allocations: 363.1 kB / 3.04 GB, free: 173.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001902/5.336, allocations: 1.066 MB / 3.041 GB, free: 172.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001419/5.337, allocations: 0.7279 MB / 3.042 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/5.337, allocations: 0 / 3.042 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/5.338, allocations: 0.4963 MB / 3.042 GB, free: 171.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/5.339, allocations: 235.9 kB / 3.042 GB, free: 171.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/5.343, allocations: 2.085 MB / 3.045 GB, free: 169 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/5.343, allocations: 1.023 MB / 3.046 GB, free: 167.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008245/5.344, allocations: 250.1 kB / 3.046 GB, free: 167.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/5.344, allocations: 99.38 kB / 3.046 GB, free: 167.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.613e-06/5.344, allocations: 0 / 3.046 GB, free: 167.6 MB / 1.167 GB Notification: Performance of Templates: time 0.02799/5.372, allocations: 20.25 MB / 3.066 GB, free: 147.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches