Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001871/0.001871, allocations: 108 kB / 15.6 MB, free: 128 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.002159/0.002158, allocations: 197.9 kB / 16.53 MB, free: 6.672 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 / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.853/2.853, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.89 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5628, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009678/0.5725, allocations: 6.94 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.7529, allocations: 151.3 MB / 1.172 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008783/0.7538, allocations: 15.94 kB / 1.172 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.7546, allocations: 269.4 kB / 1.172 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.7569, allocations: 0.7919 MB / 1.173 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.7591, allocations: 0.986 MB / 1.174 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.7617, allocations: 2.136 MB / 1.176 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.7631, allocations: 1.022 MB / 1.177 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.7642, allocations: 0.8292 MB / 1.178 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.7653, allocations: 0.9077 MB / 1.179 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.7656, allocations: 208 kB / 1.179 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.7667, allocations: 0.5348 MB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.7672, allocations: 490.4 kB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009729/0.7681, allocations: 0.9602 MB / 1.181 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.7709, allocations: 2.508 MB / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7709, allocations: 0 / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7709, allocations: 0 / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.7709, allocations: 0 / 1.183 GB, free: 7.949 MB / 0.9356 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.004155/0.7751, allocations: 2.066 MB / 1.185 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.7752, allocations: 11.98 kB / 1.185 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.7762, allocations: 258.6 kB / 1.185 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.7777, allocations: 0.9732 MB / 1.186 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.7778, allocations: 111.1 kB / 1.186 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.778, allocations: 148 kB / 1.187 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/0.7807, allocations: 1.584 MB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.7808, allocations: 0 / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.7809, allocations: 64 kB / 1.188 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.781, allocations: 40 kB / 1.188 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.7839, allocations: 1.631 MB / 1.19 GB, free: 0.9102 MB / 0.9356 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.007233/0.7911, allocations: 4.582 MB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.7934, allocations: 1.186 MB / 1.196 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/0.7943, allocations: 479.6 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.7944, allocations: 49.06 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.7959, allocations: 0.7861 MB / 1.197 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 3.105e-06/0.7959, allocations: 0 / 1.197 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004693/0.8006, allocations: 1.842 MB / 1.199 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.8007, allocations: 197.2 kB / 1.199 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.802, allocations: 0.8693 MB / 1.2 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.8021, allocations: 53.7 kB / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.8026, allocations: 0.5976 MB / 1.2 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.803, allocations: 418 kB / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.8034, allocations: 254.7 kB / 1.201 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.8036, allocations: 354 kB / 1.201 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/0.8045, allocations: 454.3 kB / 1.202 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.8056, allocations: 0.5687 MB / 1.202 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.8076, allocations: 0.9897 MB / 1.203 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8076, allocations: 0 / 1.203 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003075/0.8107, allocations: 1.344 MB / 1.204 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8107, allocations: 5.875 kB / 1.204 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8107, allocations: 4 kB / 1.204 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.8114, allocations: 84.83 kB / 1.205 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.8126, allocations: 263.6 kB / 1.205 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.8151, allocations: 1.658 MB / 1.206 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.8163, allocations: 146.9 kB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.8164, allocations: 63.94 kB / 1.207 GB, free: 15.19 MB / 0.9669 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.0006806/0.8171, allocations: 341.6 kB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.8174, allocations: 122.5 kB / 1.207 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.8213, allocations: 1.705 MB / 1.209 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.8214, allocations: 19.98 kB / 1.209 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8214, allocations: 0 / 1.209 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.8214, allocations: 11.97 kB / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.8233, allocations: 1.408 MB / 1.21 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.8233, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009715/0.8243, allocations: 219.6 kB / 1.21 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/0.8248, allocations: 72.8 kB / 1.21 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/0.8249, allocations: 43.95 kB / 1.21 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.827, allocations: 1.67 MB / 1.212 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.827, allocations: 0 / 1.212 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.8301, allocations: 1.406 MB / 1.213 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/0.8307, allocations: 375 kB / 1.214 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.8309, allocations: 35.84 kB / 1.214 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.8319, allocations: 87.91 kB / 1.214 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.8321, allocations: 109.2 kB / 1.214 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.8323, allocations: 55.95 kB / 1.214 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009701/0.8332, allocations: 0.6502 MB / 1.215 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.8333, allocations: 0 / 1.215 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001205/0.8345, allocations: 490.6 kB / 1.215 GB, free: 6.137 MB / 0.9669 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.00205/0.8365, allocations: 0.6291 MB / 1.216 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004325/0.8409, allocations: 1.591 MB / 1.217 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8409, allocations: 0 / 1.217 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.8423, allocations: 0.7363 MB / 1.218 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.8439, allocations: 358.2 kB / 1.218 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.8501, allocations: 2.583 MB / 1.221 GB, free: 396 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.8514, allocations: 1.242 MB / 1.222 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0013/0.8527, allocations: 334 kB / 1.223 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/0.8532, allocations: 159.3 kB / 1.223 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.8532, allocations: 0 / 1.223 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.0417/0.8949, allocations: 21.71 MB / 1.244 GB, free: 9.121 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches