Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.006741/0.006741, allocations: 103.2 kB / 15.74 MB, free: 6.062 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.001642/0.001642, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.538/2.538, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8572/0.8584, allocations: 159.1 MB / 1.221 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008393/0.8668, allocations: 6.938 MB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1642/1.031, allocations: 151.7 MB / 1.375 GB, free: 3.035 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/1.033, allocations: 19.94 kB / 1.375 GB, free: 3.016 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/1.034, allocations: 261.4 kB / 1.376 GB, free: 2.758 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/1.037, allocations: 0.8168 MB / 1.377 GB, free: 1.941 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/1.039, allocations: 0.9825 MB / 1.377 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002865/1.042, allocations: 2.16 MB / 1.38 GB, free: 14.8 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/1.043, allocations: 0.7147 MB / 1.38 GB, free: 14.04 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/1.045, allocations: 0.8448 MB / 1.381 GB, free: 13.19 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/1.046, allocations: 0.9102 MB / 1.382 GB, free: 12.27 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004913/1.047, allocations: 204 kB / 1.382 GB, free: 12.07 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/1.048, allocations: 0.5621 MB / 1.383 GB, free: 11.51 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005822/1.048, allocations: 498.4 kB / 1.383 GB, free: 11.02 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/1.05, allocations: 0.9447 MB / 1.384 GB, free: 10.07 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/1.053, allocations: 2.588 MB / 1.387 GB, free: 7.477 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.053, allocations: 0 / 1.387 GB, free: 7.477 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.443e-06/1.053, allocations: 0 / 1.387 GB, free: 7.477 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.311e-05/1.053, allocations: 0 / 1.387 GB, free: 7.477 MB / 1.107 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.003745/1.057, allocations: 2.11 MB / 1.389 GB, free: 5.297 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.057, allocations: 12.03 kB / 1.389 GB, free: 5.285 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/1.058, allocations: 259.6 kB / 1.389 GB, free: 5.031 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/1.059, allocations: 1.005 MB / 1.39 GB, free: 3.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.066e-05/1.059, allocations: 119.1 kB / 1.39 GB, free: 3.863 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/1.059, allocations: 148 kB / 1.39 GB, free: 3.719 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/1.062, allocations: 1.584 MB / 1.392 GB, free: 2.078 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/1.062, allocations: 0 / 1.392 GB, free: 2.078 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.062, allocations: 60 kB / 1.392 GB, free: 2.02 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/1.062, allocations: 43.94 kB / 1.392 GB, free: 1.977 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/1.065, allocations: 1.635 MB / 1.393 GB, free: 344 kB / 1.107 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.006406/1.071, allocations: 4.522 MB / 1.398 GB, free: 11.64 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/1.073, allocations: 1.128 MB / 1.399 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/1.074, allocations: 431.7 kB / 1.399 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.794e-05/1.074, allocations: 48.86 kB / 1.399 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/1.075, allocations: 0.7865 MB / 1.4 GB, free: 9.23 MB / 1.123 GB Notification: Performance of pre-optimization done (n=128): time 2.585e-06/1.075, allocations: 112 / 1.4 GB, free: 9.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=128): time 0.004693/1.08, allocations: 1.85 MB / 1.402 GB, free: 7.355 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/1.08, allocations: 197.2 kB / 1.402 GB, free: 7.121 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/1.081, allocations: 0.8614 MB / 1.403 GB, free: 6.234 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/1.081, allocations: 53.7 kB / 1.403 GB, free: 6.176 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/1.082, allocations: 0.6185 MB / 1.404 GB, free: 5.547 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/1.082, allocations: 436.4 kB / 1.404 GB, free: 5.117 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004329/1.083, allocations: 254.8 kB / 1.404 GB, free: 4.859 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.083, allocations: 353.9 kB / 1.405 GB, free: 4.508 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009003/1.084, allocations: 446.4 kB / 1.405 GB, free: 4.074 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009711/1.085, allocations: 0.5649 MB / 1.406 GB, free: 3.492 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/1.087, allocations: 0.9896 MB / 1.407 GB, free: 2.496 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.087, allocations: 0 / 1.407 GB, free: 2.496 MB / 1.123 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002884/1.09, allocations: 1.348 MB / 1.408 GB, free: 1.137 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.09, allocations: 8 kB / 1.408 GB, free: 1.129 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.09, allocations: 4.094 kB / 1.408 GB, free: 1.125 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/1.09, allocations: 80.77 kB / 1.408 GB, free: 1.043 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.091, allocations: 267.6 kB / 1.408 GB, free: 0.7812 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/1.094, allocations: 1.669 MB / 1.41 GB, free: 14.97 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.095, allocations: 155 kB / 1.41 GB, free: 14.82 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/1.095, allocations: 51.95 kB / 1.41 GB, free: 14.77 MB / 1.139 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.0006785/1.096, allocations: 354.1 kB / 1.41 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/1.096, allocations: 127.2 kB / 1.411 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/1.099, allocations: 1.702 MB / 1.412 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.099, allocations: 16 kB / 1.412 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/1.099, allocations: 0 / 1.412 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/1.099, allocations: 7.969 kB / 1.412 GB, free: 12.55 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/1.101, allocations: 1.401 MB / 1.414 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1.101, allocations: 0 / 1.414 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/1.102, allocations: 219.6 kB / 1.414 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004674/1.103, allocations: 72.8 kB / 1.414 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/1.103, allocations: 39.95 kB / 1.414 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/1.105, allocations: 1.682 MB / 1.416 GB, free: 8.934 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.105, allocations: 0 / 1.416 GB, free: 8.934 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/1.107, allocations: 1.422 MB / 1.417 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/1.108, allocations: 371.8 kB / 1.417 GB, free: 7.109 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/1.108, allocations: 39.94 kB / 1.417 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/1.109, allocations: 83.91 kB / 1.417 GB, free: 6.988 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/1.109, allocations: 109.2 kB / 1.418 GB, free: 6.879 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.109, allocations: 59.95 kB / 1.418 GB, free: 6.82 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008636/1.11, allocations: 0.6425 MB / 1.418 GB, free: 6.168 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.11, allocations: 0 / 1.418 GB, free: 6.168 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00118/1.111, allocations: 0.4909 MB / 1.419 GB, free: 5.676 MB / 1.139 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.001411/1.113, allocations: 0.6317 MB / 1.419 GB, free: 5.223 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002461/1.115, allocations: 1.216 MB / 1.421 GB, free: 3.992 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.115, allocations: 4 kB / 1.421 GB, free: 3.988 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/1.117, allocations: 0.6815 MB / 1.421 GB, free: 3.297 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.118, allocations: 362.6 kB / 1.422 GB, free: 2.961 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/1.123, allocations: 2.604 MB / 1.424 GB, free: 328 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/1.124, allocations: 1.236 MB / 1.425 GB, free: 15.05 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001129/1.125, allocations: 334.1 kB / 1.426 GB, free: 14.72 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/1.125, allocations: 163.3 kB / 1.426 GB, free: 14.56 MB / 1.154 GB Notification: Performance of SimCode: time 1.373e-06/1.125, allocations: 0 / 1.426 GB, free: 14.56 MB / 1.154 GB Notification: Performance of Templates: time 0.03734/1.163, allocations: 22.1 MB / 1.447 GB, free: 8.656 MB / 1.17 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches