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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001229/0.001229, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 8 kB / 0.8707 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.7916, allocations: 153.7 MB / 1.021 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004734/0.7963, allocations: 3.6 MB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.15/0.9464, allocations: 127.5 MB / 1.149 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.9471, allocations: 11.94 kB / 1.149 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.9475, allocations: 79.27 kB / 1.149 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.949, allocations: 493.5 kB / 1.149 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.9508, allocations: 0.6132 MB / 1.15 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.9522, allocations: 0.8026 MB / 1.151 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.9529, allocations: 467.1 kB / 1.151 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.9534, allocations: 330.6 kB / 1.152 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.9538, allocations: 318.3 kB / 1.152 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.9539, allocations: 24 kB / 1.152 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007054/0.9546, allocations: 311.6 kB / 1.152 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.9548, allocations: 179.2 kB / 1.152 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.955, allocations: 189.1 kB / 1.153 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.9561, allocations: 1.149 MB / 1.154 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.9561, allocations: 0 / 1.154 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9561, allocations: 0 / 1.154 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.9561, allocations: 4 kB / 1.154 GB, free: 8.777 MB / 0.9044 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.002264/0.9584, allocations: 1.206 MB / 1.155 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9585, allocations: 11.98 kB / 1.155 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008936/0.9594, allocations: 198.5 kB / 1.155 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.9604, allocations: 0.7069 MB / 1.156 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.9605, allocations: 62 kB / 1.156 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.9606, allocations: 79.98 kB / 1.156 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.962, allocations: 0.8988 MB / 1.157 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9621, allocations: 0 / 1.157 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/0.9622, allocations: 36 kB / 1.157 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.9622, allocations: 20 kB / 1.157 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.9639, allocations: 1.097 MB / 1.158 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.9677, allocations: 2.504 MB / 1.16 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.9692, allocations: 0.8639 MB / 1.161 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.9693, allocations: 36.59 kB / 1.161 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/0.9702, allocations: 487.1 kB / 1.162 GB, free: 356 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.856e-06/0.9702, allocations: 0 / 1.162 GB, free: 356 kB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.002906/0.9731, allocations: 1.176 MB / 1.163 GB, free: 15.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.9733, allocations: 200.5 kB / 1.163 GB, free: 14.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/0.974, allocations: 0.6136 MB / 1.164 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.001e-05/0.9741, allocations: 45.7 kB / 1.164 GB, free: 14.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.9744, allocations: 396.3 kB / 1.164 GB, free: 13.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.9746, allocations: 252.3 kB / 1.164 GB, free: 13.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.9746, allocations: 16 kB / 1.164 GB, free: 13.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9748, allocations: 382.8 kB / 1.165 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.9752, allocations: 241.9 kB / 1.165 GB, free: 12.96 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.9758, allocations: 350.5 kB / 1.165 GB, free: 12.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.9763, allocations: 286.9 kB / 1.165 GB, free: 12.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9763, allocations: 3.938 kB / 1.165 GB, free: 12.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00164/0.9779, allocations: 0.7863 MB / 1.166 GB, free: 11.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.978, allocations: 8 kB / 1.166 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.978, allocations: 0 / 1.166 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/0.9786, allocations: 92.75 kB / 1.166 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.9792, allocations: 155.7 kB / 1.166 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.9813, allocations: 1.528 MB / 1.168 GB, free: 9.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.982, allocations: 99.38 kB / 1.168 GB, free: 9.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.982, allocations: 27.98 kB / 1.168 GB, free: 9.457 MB / 0.92 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (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.0004048/0.9824, allocations: 261.6 kB / 1.168 GB, free: 9.191 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.9826, allocations: 90.95 kB / 1.168 GB, free: 9.102 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.9848, allocations: 1.069 MB / 1.169 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.9848, allocations: 8 kB / 1.169 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.9848, allocations: 0 / 1.169 GB, free: 8.012 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.9848, allocations: 3.984 kB / 1.169 GB, free: 8.008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.9878, allocations: 1.907 MB / 1.171 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9879, allocations: 0 / 1.171 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.9884, allocations: 143.8 kB / 1.171 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.9889, allocations: 88.77 kB / 1.172 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.989, allocations: 23.98 kB / 1.172 GB, free: 5.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.9907, allocations: 1.555 MB / 1.173 GB, free: 4.09 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9907, allocations: 0 / 1.173 GB, free: 4.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.9926, allocations: 0.996 MB / 1.174 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.993, allocations: 275.7 kB / 1.174 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.9931, allocations: 24 kB / 1.174 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.9938, allocations: 83.86 kB / 1.174 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.9939, allocations: 68.89 kB / 1.175 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.994, allocations: 31.98 kB / 1.175 GB, free: 2.582 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005428/0.9945, allocations: 447 kB / 1.175 GB, free: 2.152 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9945, allocations: 0 / 1.175 GB, free: 2.152 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008538/0.9954, allocations: 299.3 kB / 1.175 GB, free: 1.859 MB / 0.92 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 (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.001292/0.9967, allocations: 0.6131 MB / 1.176 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.9984, allocations: 0.7962 MB / 1.177 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9984, allocations: 0 / 1.177 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.9993, allocations: 0.5042 MB / 1.177 GB, free: 96 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1, allocations: 246.3 kB / 1.177 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/1.005, allocations: 2.128 MB / 1.179 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/1.005, allocations: 1.041 MB / 1.18 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009527/1.006, allocations: 258.5 kB / 1.181 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/1.007, allocations: 99.38 kB / 1.181 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of SimCode: time 1.252e-06/1.007, allocations: 4 kB / 1.181 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of Templates: time 0.02321/1.03, allocations: 13.44 MB / 1.194 GB, free: 14.99 MB / 0.9512 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