Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001666/0.001666, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002033/0.002033, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 55.91 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.6707, allocations: 140.4 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006379/0.6771, allocations: 5.441 MB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.171/0.8481, allocations: 148.8 MB / 1.1 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.8501, allocations: 19.94 kB / 1.1 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.8516, allocations: 162.6 kB / 1.1 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.8554, allocations: 0.5659 MB / 1.1 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.8584, allocations: 0.8676 MB / 1.101 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002949/0.8614, allocations: 1.767 MB / 1.103 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.8632, allocations: 1.041 MB / 1.104 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.8645, allocations: 0.7002 MB / 1.105 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.8659, allocations: 0.8126 MB / 1.105 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005284/0.8665, allocations: 112 kB / 1.105 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.8679, allocations: 451.7 kB / 1.106 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.8683, allocations: 402.4 kB / 1.106 GB, free: 372 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000924/0.8693, allocations: 0.8118 MB / 1.107 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.8718, allocations: 2.348 MB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8718, allocations: 0 / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.296e-06/0.8719, allocations: 3.984 kB / 1.109 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.8719, allocations: 0 / 1.109 GB, free: 13.19 MB / 0.8731 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.004187/0.8761, allocations: 2.021 MB / 1.111 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8761, allocations: 12.03 kB / 1.111 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.8772, allocations: 254.6 kB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.8787, allocations: 0.9732 MB / 1.113 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.8788, allocations: 119 kB / 1.113 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.8789, allocations: 152 kB / 1.113 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.8816, allocations: 1.58 MB / 1.114 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.8817, allocations: 0 / 1.114 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.8818, allocations: 63.94 kB / 1.114 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.8818, allocations: 40 kB / 1.114 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.8845, allocations: 1.639 MB / 1.116 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006777/0.8913, allocations: 4.126 MB / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.8935, allocations: 1.193 MB / 1.121 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008134/0.8943, allocations: 475.6 kB / 1.122 GB, free: 304 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.8944, allocations: 49.08 kB / 1.122 GB, free: 256 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.8958, allocations: 0.7822 MB / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 2.735e-06/0.8958, allocations: 0 / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.004465/0.9003, allocations: 1.846 MB / 1.124 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.9004, allocations: 193.2 kB / 1.124 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.9016, allocations: 0.8614 MB / 1.125 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.99e-05/0.9017, allocations: 53.69 kB / 1.125 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.9022, allocations: 0.6054 MB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003589/0.9026, allocations: 406.2 kB / 1.126 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.903, allocations: 258.7 kB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9031, allocations: 353.9 kB / 1.127 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008664/0.904, allocations: 454.4 kB / 1.127 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.9051, allocations: 0.5571 MB / 1.128 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.907, allocations: 0.9779 MB / 1.129 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.907, allocations: 0 / 1.129 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.0031/0.9101, allocations: 1.336 MB / 1.13 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.9101, allocations: 8 kB / 1.13 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9102, allocations: 0 / 1.13 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.9108, allocations: 92.81 kB / 1.13 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.912, allocations: 267.6 kB / 1.131 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.914, allocations: 1.541 MB / 1.132 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.9152, allocations: 148.3 kB / 1.132 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.9153, allocations: 64.02 kB / 1.132 GB, free: 5.164 MB / 0.8887 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.0006474/0.916, allocations: 357.7 kB / 1.133 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.9162, allocations: 118.6 kB / 1.133 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.92, allocations: 1.709 MB / 1.134 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.92, allocations: 12 kB / 1.134 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.9201, allocations: 0 / 1.134 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.9201, allocations: 7.922 kB / 1.134 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.9218, allocations: 1.402 MB / 1.136 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.9218, allocations: 0 / 1.136 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.9227, allocations: 223.6 kB / 1.136 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.9233, allocations: 88.7 kB / 1.136 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-05/0.9234, allocations: 39.97 kB / 1.136 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.9253, allocations: 1.559 MB / 1.138 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9253, allocations: 0 / 1.138 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.9282, allocations: 1.414 MB / 1.139 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.9287, allocations: 371.1 kB / 1.139 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.9289, allocations: 35.91 kB / 1.139 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.9299, allocations: 83.91 kB / 1.139 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.9301, allocations: 113.1 kB / 1.14 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.9302, allocations: 55.97 kB / 1.14 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008869/0.9311, allocations: 0.6464 MB / 1.14 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9311, allocations: 0 / 1.14 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001127/0.9323, allocations: 462.6 kB / 1.141 GB, free: 12.24 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: 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.00137/0.9337, allocations: 0.6331 MB / 1.141 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002544/0.9362, allocations: 1.259 MB / 1.143 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9362, allocations: 4 kB / 1.143 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.9375, allocations: 0.7402 MB / 1.143 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.9389, allocations: 297.8 kB / 1.144 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/0.9448, allocations: 3.374 MB / 1.147 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008057/0.9456, allocations: 1.24 MB / 1.148 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001266/0.9469, allocations: 333.9 kB / 1.148 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.9473, allocations: 151.3 kB / 1.148 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of SimCode: time 9.82e-07/0.9473, allocations: 3.938 kB / 1.148 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of Templates: time 0.03518/0.9825, allocations: 19.77 MB / 1.168 GB, free: 0.707 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches