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.001303/0.001303, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001263/0.001263, allocations: 191 kB / 17.29 MB, free: 5.516 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.44/2.44, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 68.47 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2736, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006386/0.2801, allocations: 4.801 MB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6565/0.9366, allocations: 150.6 MB / 1.178 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.9375, allocations: 19.81 kB / 1.178 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.9382, allocations: 182.5 kB / 1.179 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.94, allocations: 0.5391 MB / 1.179 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.9432, allocations: 0.8261 MB / 1.18 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00275/0.9459, allocations: 1.374 MB / 1.181 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009927/0.947, allocations: 0.578 MB / 1.182 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.9478, allocations: 472.3 kB / 1.182 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006033/0.9484, allocations: 0.4928 MB / 1.183 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.9486, allocations: 112.4 kB / 1.183 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.9496, allocations: 493 kB / 1.183 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.9499, allocations: 289.3 kB / 1.184 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.9504, allocations: 0.5449 MB / 1.184 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.9521, allocations: 1.608 MB / 1.186 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9521, allocations: 0 / 1.186 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9522, allocations: 0 / 1.186 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.467e-05/0.9522, allocations: 1.094 kB / 1.186 GB, free: 2.359 MB / 0.8887 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.002421/0.9546, allocations: 1.409 MB / 1.187 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.9547, allocations: 13.88 kB / 1.187 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.9556, allocations: 182.6 kB / 1.187 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.9568, allocations: 0.7553 MB / 1.188 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.9568, allocations: 63.23 kB / 1.188 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.955e-05/0.9569, allocations: 82.12 kB / 1.188 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.9584, allocations: 0.9018 MB / 1.189 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.9584, allocations: 0 / 1.189 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/0.9585, allocations: 41.69 kB / 1.189 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.9585, allocations: 19.34 kB / 1.189 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.9602, allocations: 1.094 MB / 1.19 GB, free: 15.34 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.9642, allocations: 2.641 MB / 1.193 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.9657, allocations: 0.87 MB / 1.194 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.9662, allocations: 297.4 kB / 1.194 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/0.9663, allocations: 36.28 kB / 1.194 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007934/0.9671, allocations: 497.9 kB / 1.194 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.454e-06/0.9671, allocations: 0 / 1.194 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.003036/0.9702, allocations: 1.18 MB / 1.196 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.9703, allocations: 189.3 kB / 1.196 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.9711, allocations: 0.6285 MB / 1.196 GB, free: 11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.9711, allocations: 42.58 kB / 1.196 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.9714, allocations: 381.4 kB / 1.197 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.9717, allocations: 260.6 kB / 1.197 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.9719, allocations: 162.5 kB / 1.197 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9721, allocations: 385.1 kB / 1.198 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.9726, allocations: 265.5 kB / 1.198 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.9732, allocations: 362.8 kB / 1.198 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.9742, allocations: 0.5988 MB / 1.199 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.9742, allocations: 0 / 1.199 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001847/0.976, allocations: 0.835 MB / 1.2 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.9761, allocations: 14.34 kB / 1.2 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9761, allocations: 0 / 1.2 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.9767, allocations: 90.05 kB / 1.2 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.9773, allocations: 153.8 kB / 1.2 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.9795, allocations: 1.629 MB / 1.201 GB, free: 7.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/0.9804, allocations: 86.19 kB / 1.201 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.9805, allocations: 38.47 kB / 1.202 GB, free: 7.086 MB / 0.9044 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.0006359/0.9811, allocations: 266.2 kB / 1.202 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.9813, allocations: 84.09 kB / 1.202 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.9837, allocations: 1.061 MB / 1.203 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.9837, allocations: 10.53 kB / 1.203 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9837, allocations: 0 / 1.203 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.9837, allocations: 3.984 kB / 1.203 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.9871, allocations: 1.915 MB / 1.205 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9871, allocations: 0 / 1.205 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.9877, allocations: 142.2 kB / 1.205 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/0.9881, allocations: 74.97 kB / 1.205 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.9882, allocations: 23.08 kB / 1.205 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.99, allocations: 1.646 MB / 1.207 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.99, allocations: 6.828 kB / 1.207 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.9919, allocations: 0.9812 MB / 1.208 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.9923, allocations: 273.2 kB / 1.208 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.9924, allocations: 18.84 kB / 1.208 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.9931, allocations: 67.53 kB / 1.208 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.9933, allocations: 73.89 kB / 1.208 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.9933, allocations: 30.42 kB / 1.208 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005354/0.9939, allocations: 456.2 kB / 1.208 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.9939, allocations: 0 / 1.208 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008673/0.9948, allocations: 324.1 kB / 1.209 GB, free: 2.012 MB / 0.9044 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.001319/0.9961, allocations: 0.5982 MB / 1.209 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.9977, allocations: 0.8164 MB / 1.21 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9978, allocations: 192 / 1.21 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.9987, allocations: 0.5236 MB / 1.211 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.9999, allocations: 306.4 kB / 1.211 GB, free: 248 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/1.003, allocations: 1.608 MB / 1.213 GB, free: 14.61 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/1.003, allocations: 1.012 MB / 1.214 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007541/1.004, allocations: 258.5 kB / 1.214 GB, free: 13.31 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/1.004, allocations: 107.4 kB / 1.214 GB, free: 13.2 MB / 0.92 GB Notification: Performance of SimCode: time 6.61e-07/1.004, allocations: 0 / 1.214 GB, free: 13.2 MB / 0.92 GB Notification: Performance of Templates: time 0.02419/1.028, allocations: 14.94 MB / 1.228 GB, free: 14.43 MB / 0.9356 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches