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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002398/0.002398, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002465/0.002465, allocations: 188 kB / 16.25 MB, free: 6.59 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 65.5 kB / 0.8986 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006318/0.3422, allocations: 4.991 MB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.5002, allocations: 148.6 MB / 1.202 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008977/0.5011, allocations: 15.94 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.5017, allocations: 150.8 kB / 1.202 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.5035, allocations: 0.5047 MB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.5054, allocations: 0.7542 MB / 1.204 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.507, allocations: 1.44 MB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008586/0.5079, allocations: 0.5949 MB / 1.206 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007177/0.5086, allocations: 0.5099 MB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.5093, allocations: 0.5421 MB / 1.207 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.5095, allocations: 120 kB / 1.207 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007756/0.5102, allocations: 455.7 kB / 1.207 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.5105, allocations: 318.9 kB / 1.207 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.511, allocations: 0.5869 MB / 1.208 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.5128, allocations: 1.636 MB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5128, allocations: 3.938 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5128, allocations: 0 / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.5128, allocations: 0 / 1.21 GB, free: 6.918 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.002839/0.5157, allocations: 1.479 MB / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5157, allocations: 12.03 kB / 1.211 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.5167, allocations: 187.3 kB / 1.211 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5177, allocations: 0.7663 MB / 1.212 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.5178, allocations: 66 kB / 1.212 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.5179, allocations: 87.94 kB / 1.212 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.5196, allocations: 0.9691 MB / 1.213 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.5197, allocations: 0 / 1.213 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.5198, allocations: 36 kB / 1.213 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.5198, allocations: 20 kB / 1.213 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.5217, allocations: 1.155 MB / 1.214 GB, free: 2.012 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.004458/0.5261, allocations: 2.881 MB / 1.217 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.5278, allocations: 0.8493 MB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.5284, allocations: 326.6 kB / 1.218 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.641e-05/0.5285, allocations: 32.62 kB / 1.218 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.5295, allocations: 0.5392 MB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.756e-06/0.5296, allocations: 0 / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.0035/0.5331, allocations: 1.298 MB / 1.22 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5332, allocations: 200.9 kB / 1.22 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000817/0.534, allocations: 0.6488 MB / 1.221 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.873e-05/0.5341, allocations: 49.7 kB / 1.221 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.5344, allocations: 404.5 kB / 1.221 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.5347, allocations: 287.8 kB / 1.222 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.535, allocations: 174.5 kB / 1.222 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5352, allocations: 386.8 kB / 1.222 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.5358, allocations: 297.8 kB / 1.222 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.5364, allocations: 391.1 kB / 1.223 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.5376, allocations: 0.6554 MB / 1.223 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5377, allocations: 4 kB / 1.223 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002105/0.5398, allocations: 0.919 MB / 1.224 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5398, allocations: 13.19 kB / 1.224 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5398, allocations: 0 / 1.224 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.5405, allocations: 84.83 kB / 1.224 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.5413, allocations: 179.7 kB / 1.225 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.5435, allocations: 1.638 MB / 1.226 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.5443, allocations: 99.36 kB / 1.226 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/0.5444, allocations: 47.91 kB / 1.226 GB, free: 5.23 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.0004447/0.5449, allocations: 277.2 kB / 1.227 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.5451, allocations: 86.88 kB / 1.227 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.5478, allocations: 1.164 MB / 1.228 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5478, allocations: 16 kB / 1.228 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5478, allocations: 0 / 1.228 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5478, allocations: 7.969 kB / 1.228 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.5489, allocations: 0.9269 MB / 1.229 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5489, allocations: 0 / 1.229 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.5496, allocations: 159.7 kB / 1.229 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.5501, allocations: 76.8 kB / 1.229 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.5501, allocations: 31.91 kB / 1.229 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.552, allocations: 1.662 MB / 1.231 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.552, allocations: 0 / 1.231 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.5542, allocations: 0.9942 MB / 1.232 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.5547, allocations: 283.6 kB / 1.232 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.5548, allocations: 23.94 kB / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.5556, allocations: 71.86 kB / 1.232 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.5557, allocations: 80.89 kB / 1.232 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.5558, allocations: 39.97 kB / 1.232 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006313/0.5565, allocations: 479 kB / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5565, allocations: 0 / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008687/0.5574, allocations: 335.3 kB / 1.233 GB, free: 14.3 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.001396/0.5588, allocations: 0.6031 MB / 1.233 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002858/0.5616, allocations: 1.116 MB / 1.235 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5616, allocations: 0 / 1.235 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009917/0.5626, allocations: 0.5392 MB / 1.235 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.564, allocations: 318.9 kB / 1.235 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.5673, allocations: 2.172 MB / 1.238 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.568, allocations: 1.041 MB / 1.239 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009225/0.5689, allocations: 263.2 kB / 1.239 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.5692, allocations: 123.3 kB / 1.239 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.5693, allocations: 0 / 1.239 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.5248/1.094, allocations: 15.82 MB / 1.254 GB, free: 192 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/jenkins/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