Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 104 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.001766/0.001767, allocations: 198.9 kB / 17.3 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.373/2.373, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 64.08 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3375, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008892/0.3465, allocations: 6.929 MB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6639/1.01, allocations: 151.3 MB / 1.181 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/1.012, allocations: 18.12 kB / 1.181 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/1.013, allocations: 264.7 kB / 1.181 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003313/1.017, allocations: 0.7892 MB / 1.182 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/1.019, allocations: 0.9931 MB / 1.183 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00312/1.022, allocations: 2.149 MB / 1.185 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.024, allocations: 1.026 MB / 1.186 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/1.026, allocations: 0.8343 MB / 1.187 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/1.027, allocations: 0.905 MB / 1.188 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005713/1.028, allocations: 206.2 kB / 1.188 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/1.03, allocations: 0.5621 MB / 1.189 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006691/1.03, allocations: 487.2 kB / 1.189 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/1.032, allocations: 0.954 MB / 1.19 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/1.035, allocations: 2.571 MB / 1.193 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.035, allocations: 0 / 1.193 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.044e-06/1.035, allocations: 4 kB / 1.193 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.361e-05/1.035, allocations: 1.375 kB / 1.193 GB, free: 12.92 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005178/1.04, allocations: 2.055 MB / 1.195 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.04, allocations: 13.7 kB / 1.195 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/1.042, allocations: 251.1 kB / 1.195 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/1.043, allocations: 0.9914 MB / 1.196 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.043, allocations: 119.8 kB / 1.196 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/1.044, allocations: 146 kB / 1.196 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/1.046, allocations: 1.578 MB / 1.198 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.046, allocations: 6.75 kB / 1.198 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.047, allocations: 67.12 kB / 1.198 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/1.047, allocations: 37.16 kB / 1.198 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/1.049, allocations: 1.64 MB / 1.199 GB, free: 8.496 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.007108/1.056, allocations: 4.521 MB / 1.204 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/1.058, allocations: 1.188 MB / 1.205 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/1.059, allocations: 490.8 kB / 1.205 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/1.059, allocations: 45.2 kB / 1.205 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/1.061, allocations: 0.7883 MB / 1.206 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=128): time 2.555e-06/1.061, allocations: 0 / 1.206 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of matching and sorting (n=128): time 0.004352/1.065, allocations: 1.842 MB / 1.208 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/1.065, allocations: 197.4 kB / 1.208 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.066, allocations: 0.8771 MB / 1.209 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.067, allocations: 49.11 kB / 1.209 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/1.067, allocations: 0.5954 MB / 1.21 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/1.067, allocations: 412.7 kB / 1.21 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/1.068, allocations: 260.1 kB / 1.21 GB, free: 0.7305 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.068, allocations: 358.6 kB / 1.211 GB, free: 396 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008484/1.069, allocations: 451.1 kB / 1.211 GB, free: 15.99 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/1.07, allocations: 0.5609 MB / 1.212 GB, free: 15.42 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.071, allocations: 0.9896 MB / 1.213 GB, free: 14.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.071, allocations: 0 / 1.213 GB, free: 14.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00297/1.074, allocations: 1.34 MB / 1.214 GB, free: 13.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.075, allocations: 11.94 kB / 1.214 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.075, allocations: 0 / 1.214 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/1.075, allocations: 80.84 kB / 1.214 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.076, allocations: 271.6 kB / 1.214 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/1.079, allocations: 1.642 MB / 1.216 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.08, allocations: 150.9 kB / 1.216 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.08, allocations: 59.94 kB / 1.216 GB, free: 10.72 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007218/1.081, allocations: 345.6 kB / 1.216 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/1.081, allocations: 126.5 kB / 1.217 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/1.085, allocations: 1.7 MB / 1.218 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/1.085, allocations: 16 kB / 1.218 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.085, allocations: 0 / 1.218 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.085, allocations: 11.95 kB / 1.218 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/1.087, allocations: 1.408 MB / 1.22 GB, free: 7.051 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.087, allocations: 3.938 kB / 1.22 GB, free: 7.047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009272/1.088, allocations: 211.7 kB / 1.22 GB, free: 6.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/1.088, allocations: 76.78 kB / 1.22 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-05/1.088, allocations: 39.97 kB / 1.22 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.09, allocations: 1.67 MB / 1.222 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.09, allocations: 3.938 kB / 1.222 GB, free: 4.898 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/1.093, allocations: 1.398 MB / 1.223 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006827/1.094, allocations: 382.5 kB / 1.223 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/1.094, allocations: 39.78 kB / 1.223 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009929/1.095, allocations: 91.91 kB / 1.223 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/1.095, allocations: 109.1 kB / 1.224 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.096, allocations: 55.97 kB / 1.224 GB, free: 2.801 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001023/1.097, allocations: 0.6425 MB / 1.224 GB, free: 2.148 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.097, allocations: 0 / 1.224 GB, free: 2.148 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001529/1.098, allocations: 490.6 kB / 1.225 GB, free: 1.668 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00146/1.1, allocations: 0.6281 MB / 1.225 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002427/1.102, allocations: 1.275 MB / 1.227 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.102, allocations: 0 / 1.227 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/1.103, allocations: 0.7323 MB / 1.227 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/1.105, allocations: 358.4 kB / 1.228 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/1.109, allocations: 2.551 MB / 1.23 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/1.11, allocations: 1.236 MB / 1.231 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001067/1.111, allocations: 334.1 kB / 1.232 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/1.111, allocations: 159.3 kB / 1.232 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of SimCode: time 9.21e-07/1.111, allocations: 0 / 1.232 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.03652/1.148, allocations: 21.71 MB / 1.253 GB, free: 4.992 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches