Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.506/2.506, allocations: 390.5 MB / 398 MB, free: 10.93 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.001167/0.001167, allocations: 184.2 kB / 491.2 MB, free: 1.551 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.664/1.664, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009812/0.0009814, allocations: 91.95 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.922e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3661, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.406/5.772, allocations: 1.731 GB / 2.943 GB, free: 108.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/5.772, allocations: 88.44 kB / 2.943 GB, free: 108.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1204/5.893, allocations: 57.77 MB / 2.999 GB, free: 55.56 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.493e-06/5.893, allocations: 0 / 2.999 GB, free: 55.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.693e-05/5.893, allocations: 20 kB / 2.999 GB, free: 55.54 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001635/5.894, allocations: 1.056 MB / 3 GB, free: 54.44 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/5.894, allocations: 11.97 kB / 3 GB, free: 54.43 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008228/5.895, allocations: 186.6 kB / 3.001 GB, free: 54.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/5.896, allocations: 0.5958 MB / 3.001 GB, free: 53.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/5.896, allocations: 28 kB / 3.001 GB, free: 53.58 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/5.896, allocations: 40 kB / 3.001 GB, free: 53.54 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001154/5.897, allocations: 0.964 MB / 3.002 GB, free: 52.58 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/5.898, allocations: 0.7037 MB / 3.003 GB, free: 51.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/5.898, allocations: 3.953 kB / 3.003 GB, free: 51.83 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/5.898, allocations: 0 / 3.003 GB, free: 51.83 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/5.898, allocations: 20 kB / 3.003 GB, free: 51.81 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/5.901, allocations: 2.216 MB / 3.005 GB, free: 49.54 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/5.902, allocations: 0.7054 MB / 3.006 GB, free: 48.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/5.903, allocations: 238.5 kB / 3.006 GB, free: 48.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-05/5.903, allocations: 28.53 kB / 3.006 GB, free: 48.54 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/5.903, allocations: 368.8 kB / 3.006 GB, free: 48.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.395e-06/5.903, allocations: 0 / 3.006 GB, free: 48.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001338/5.904, allocations: 0.6327 MB / 3.007 GB, free: 47.52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/5.905, allocations: 239.9 kB / 3.007 GB, free: 47.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/5.905, allocations: 498.2 kB / 3.008 GB, free: 46.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/5.905, allocations: 29.7 kB / 3.008 GB, free: 46.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/5.905, allocations: 364.3 kB / 3.008 GB, free: 46.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/5.906, allocations: 228.6 kB / 3.008 GB, free: 46.11 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/5.906, allocations: 0 / 3.008 GB, free: 46.11 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001089/5.906, allocations: 378.8 kB / 3.009 GB, free: 45.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/5.906, allocations: 181.5 kB / 3.009 GB, free: 45.55 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/5.906, allocations: 283.5 kB / 3.009 GB, free: 45.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/5.907, allocations: 224.5 kB / 3.009 GB, free: 45.03 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.907, allocations: 0 / 3.009 GB, free: 45.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0012/5.908, allocations: 0.6251 MB / 3.01 GB, free: 44.39 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/5.908, allocations: 9.359 kB / 3.01 GB, free: 44.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/5.908, allocations: 0 / 3.01 GB, free: 44.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/5.908, allocations: 88.77 kB / 3.01 GB, free: 44.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/5.909, allocations: 127.9 kB / 3.01 GB, free: 44.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/5.91, allocations: 1.449 MB / 3.012 GB, free: 42.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/5.911, allocations: 59.52 kB / 3.012 GB, free: 42.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/5.911, allocations: 31.98 kB / 3.012 GB, free: 42.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0001612/5.911, allocations: 112.9 kB / 3.012 GB, free: 42.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/5.911, allocations: 75.22 kB / 3.012 GB, free: 42.31 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/5.913, allocations: 0.8673 MB / 3.013 GB, free: 41.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/5.913, allocations: 12 kB / 3.013 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/5.913, allocations: 0 / 3.013 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/5.913, allocations: 7.922 kB / 3.013 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/5.915, allocations: 1.641 MB / 3.014 GB, free: 39.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/5.915, allocations: 0 / 3.014 GB, free: 39.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/5.916, allocations: 143.8 kB / 3.014 GB, free: 39.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/5.916, allocations: 84.77 kB / 3.015 GB, free: 39.49 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/5.916, allocations: 15.98 kB / 3.015 GB, free: 39.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/5.918, allocations: 1.48 MB / 3.016 GB, free: 37.88 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.918, allocations: 0 / 3.016 GB, free: 37.88 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/5.919, allocations: 0.7988 MB / 3.017 GB, free: 37.06 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/5.919, allocations: 271.8 kB / 3.017 GB, free: 36.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/5.919, allocations: 8 kB / 3.017 GB, free: 36.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/5.92, allocations: 47.94 kB / 3.017 GB, free: 36.72 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/5.92, allocations: 56.7 kB / 3.017 GB, free: 36.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/5.92, allocations: 31.98 kB / 3.017 GB, free: 36.63 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004187/5.92, allocations: 398.9 kB / 3.018 GB, free: 36.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/5.92, allocations: 0 / 3.018 GB, free: 36.24 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001031/5.921, allocations: 323.1 kB / 3.018 GB, free: 35.93 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001763/5.923, allocations: 1.09 MB / 3.019 GB, free: 34.94 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001012/5.924, allocations: 0.6165 MB / 3.02 GB, free: 34.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/5.924, allocations: 4 kB / 3.02 GB, free: 34.32 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005479/5.925, allocations: 432.5 kB / 3.02 GB, free: 33.88 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/5.926, allocations: 213.6 kB / 3.02 GB, free: 33.68 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/5.929, allocations: 1.26 MB / 3.021 GB, free: 32.39 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/5.929, allocations: 1.013 MB / 3.022 GB, free: 31.35 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007351/5.93, allocations: 249.4 kB / 3.023 GB, free: 31.11 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/5.93, allocations: 87.39 kB / 3.023 GB, free: 31.02 MB / 1.151 GB Notification: Performance of SimCode: time 3.61e-07/5.93, allocations: 0 / 3.023 GB, free: 31.02 MB / 1.151 GB Notification: Performance of Templates: time 0.02296/5.953, allocations: 15.24 MB / 3.038 GB, free: 15.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches