Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 180.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009881/0.000988, allocations: 106 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.422e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.805/6.038, allocations: 2.19 GB / 3.075 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/6.038, allocations: 95.94 kB / 3.075 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1194/6.158, allocations: 56.34 MB / 3.13 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.946e-06/6.158, allocations: 0 / 3.13 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.652e-05/6.158, allocations: 27.94 kB / 3.13 GB, free: 160.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001806/6.16, allocations: 1.017 MB / 3.131 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/6.16, allocations: 8.031 kB / 3.131 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000904/6.161, allocations: 186.6 kB / 3.131 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009637/6.162, allocations: 0.5919 MB / 3.132 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/6.162, allocations: 32 kB / 3.132 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/6.162, allocations: 40 kB / 3.132 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/6.163, allocations: 0.9562 MB / 3.133 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/6.164, allocations: 0.6843 MB / 3.134 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/6.164, allocations: 7.938 kB / 3.134 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/6.164, allocations: 11.88 kB / 3.134 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/6.164, allocations: 20 kB / 3.134 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/6.167, allocations: 2.177 MB / 3.136 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/6.168, allocations: 0.7171 MB / 3.136 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/6.168, allocations: 230.5 kB / 3.137 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/6.169, allocations: 28.59 kB / 3.137 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/6.169, allocations: 376.7 kB / 3.137 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 5.42e-06/6.169, allocations: 4 kB / 3.137 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.00138/6.17, allocations: 0.6133 MB / 3.138 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/6.171, allocations: 243.9 kB / 3.138 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/6.171, allocations: 0.4905 MB / 3.138 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/6.171, allocations: 29.69 kB / 3.138 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/6.171, allocations: 364.2 kB / 3.139 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/6.172, allocations: 224.6 kB / 3.139 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/6.172, allocations: 0 / 3.139 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001176/6.172, allocations: 374.7 kB / 3.139 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/6.172, allocations: 181.5 kB / 3.14 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/6.172, allocations: 283.5 kB / 3.14 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/6.173, allocations: 228.4 kB / 3.14 GB, free: 150 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/6.173, allocations: 0 / 3.14 GB, free: 150 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001219/6.174, allocations: 0.6174 MB / 3.141 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/6.174, allocations: 4 kB / 3.141 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/6.174, allocations: 3.984 kB / 3.141 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/6.174, allocations: 80.84 kB / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/6.175, allocations: 131.8 kB / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/6.177, allocations: 1.457 MB / 3.142 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/6.177, allocations: 67.5 kB / 3.142 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/6.178, allocations: 32.17 kB / 3.142 GB, free: 147.5 MB / 0.8698 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.0002034/6.178, allocations: 112.9 kB / 3.142 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/6.178, allocations: 67.25 kB / 3.143 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/6.18, allocations: 0.871 MB / 3.143 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/6.18, allocations: 12 kB / 3.143 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/6.18, allocations: 0 / 3.143 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/6.18, allocations: 3.984 kB / 3.143 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/6.182, allocations: 1.648 MB / 3.145 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/6.182, allocations: 0 / 3.145 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/6.183, allocations: 135.8 kB / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/6.183, allocations: 80.78 kB / 3.145 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/6.183, allocations: 15.98 kB / 3.145 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/6.185, allocations: 1.488 MB / 3.147 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/6.185, allocations: 0 / 3.147 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/6.186, allocations: 0.7987 MB / 3.147 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/6.186, allocations: 267.8 kB / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/6.187, allocations: 0 / 3.148 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/6.187, allocations: 59.89 kB / 3.148 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/6.187, allocations: 56.7 kB / 3.148 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/6.187, allocations: 28.05 kB / 3.148 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00046/6.188, allocations: 394.9 kB / 3.148 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.188, allocations: 0 / 3.148 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001186/6.189, allocations: 295.1 kB / 3.148 GB, free: 141 MB / 0.8698 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.002112/6.191, allocations: 1.036 MB / 3.149 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001141/6.192, allocations: 0.6281 MB / 3.15 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/6.192, allocations: 0 / 3.15 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/6.193, allocations: 428.6 kB / 3.151 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/6.194, allocations: 218.4 kB / 3.151 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/6.197, allocations: 1.242 MB / 3.152 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/6.197, allocations: 1.015 MB / 3.153 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007998/6.198, allocations: 249.5 kB / 3.153 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/6.198, allocations: 87.39 kB / 3.153 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.833e-06/6.198, allocations: 0 / 3.153 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.0238/6.222, allocations: 14.92 MB / 3.168 GB, free: 121.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches