Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001501, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 196.9 kB / 16.79 MB, free: 6.824 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 63.62 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3372, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007855/0.3451, allocations: 4.973 MB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.5051, allocations: 148.5 MB / 1.203 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.5063, allocations: 15.94 kB / 1.203 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009229/0.5072, allocations: 154.8 kB / 1.203 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.5095, allocations: 496.4 kB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.5119, allocations: 0.7431 MB / 1.204 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.5138, allocations: 1.354 MB / 1.205 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.5148, allocations: 0.5712 MB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008262/0.5156, allocations: 454.2 kB / 1.206 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.5165, allocations: 0.4938 MB / 1.207 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.5168, allocations: 60 kB / 1.207 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.5179, allocations: 403.6 kB / 1.207 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003724/0.5183, allocations: 247 kB / 1.207 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/0.519, allocations: 0.5282 MB / 1.208 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.5205, allocations: 1.232 MB / 1.209 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.5205, allocations: 8 kB / 1.209 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5205, allocations: 0 / 1.209 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.345e-05/0.5206, allocations: 0 / 1.209 GB, free: 7.52 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003713/0.5243, allocations: 1.475 MB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5244, allocations: 15.97 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5255, allocations: 187.3 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.5268, allocations: 0.7624 MB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.5269, allocations: 69.94 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.527, allocations: 88 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.529, allocations: 0.9613 MB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.529, allocations: 3.984 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.5291, allocations: 36 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.5292, allocations: 24 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.5312, allocations: 1.151 MB / 1.214 GB, free: 2.613 MB / 0.9669 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.004943/0.5362, allocations: 2.872 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.5378, allocations: 0.8578 MB / 1.217 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.5384, allocations: 322.7 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.101e-05/0.5385, allocations: 32.67 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.5396, allocations: 0.5314 MB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 4.147e-06/0.5396, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003586/0.5432, allocations: 1.29 MB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.5433, allocations: 204.8 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5444, allocations: 0.6527 MB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/0.5445, allocations: 53.64 kB / 1.22 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.5448, allocations: 400.5 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.5451, allocations: 287.8 kB / 1.221 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.5454, allocations: 178.5 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5456, allocations: 382.8 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.5462, allocations: 297.8 kB / 1.222 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.5469, allocations: 395 kB / 1.222 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.5481, allocations: 0.6554 MB / 1.223 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5482, allocations: 4 kB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002241/0.5504, allocations: 0.919 MB / 1.224 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.5504, allocations: 7.938 kB / 1.224 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5505, allocations: 0 / 1.224 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.5511, allocations: 80.84 kB / 1.224 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000776/0.5519, allocations: 183.7 kB / 1.224 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.554, allocations: 1.526 MB / 1.226 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/0.555, allocations: 101 kB / 1.226 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.5551, allocations: 39.97 kB / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0006825/0.5558, allocations: 283.6 kB / 1.226 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.5561, allocations: 90.88 kB / 1.226 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.5589, allocations: 1.16 MB / 1.227 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5589, allocations: 12 kB / 1.227 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.559, allocations: 3.938 kB / 1.227 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.559, allocations: 3.984 kB / 1.227 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5603, allocations: 0.9463 MB / 1.228 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.5603, allocations: 0 / 1.228 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.561, allocations: 155.8 kB / 1.228 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006124/0.5616, allocations: 84.7 kB / 1.228 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.5617, allocations: 31.98 kB / 1.228 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.5636, allocations: 1.54 MB / 1.23 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5637, allocations: 0 / 1.23 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.5659, allocations: 0.9942 MB / 1.231 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004674/0.5664, allocations: 295.5 kB / 1.231 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.5666, allocations: 20 kB / 1.231 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/0.5673, allocations: 67.92 kB / 1.231 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.5676, allocations: 72.89 kB / 1.231 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/0.5677, allocations: 43.97 kB / 1.231 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007254/0.5684, allocations: 483 kB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5684, allocations: 0 / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001022/0.5694, allocations: 331.3 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001585/0.571, allocations: 0.6119 MB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.5731, allocations: 0.8938 MB / 1.234 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5731, allocations: 0 / 1.234 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5742, allocations: 0.5354 MB / 1.234 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5756, allocations: 280.2 kB / 1.234 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.5796, allocations: 2.217 MB / 1.237 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008828/0.5805, allocations: 1.042 MB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004615/0.581, allocations: 127.4 kB / 1.238 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of SimCode: time 1.021e-06/0.581, allocations: 0 / 1.238 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of Templates: time 0.5543/1.135, allocations: 19.31 MB / 1.257 GB, free: 190.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches