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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001024/0.001024, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001096/0.001096, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.672/2.672, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003217, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7611, allocations: 142.4 MB / 0.9544 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004733/0.7658, allocations: 4.712 MB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.9318, allocations: 137.3 MB / 1.093 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.9331, allocations: 23.88 kB / 1.093 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.9337, allocations: 154.7 kB / 1.093 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.9359, allocations: 0.5529 MB / 1.094 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.938, allocations: 0.7287 MB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002251/0.9403, allocations: 1.643 MB / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.9415, allocations: 0.8361 MB / 1.097 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.9425, allocations: 0.5248 MB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.9433, allocations: 0.5906 MB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.9434, allocations: 40 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.9442, allocations: 351.7 kB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.9445, allocations: 270.7 kB / 1.099 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.9448, allocations: 296.8 kB / 1.099 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.9466, allocations: 1.808 MB / 1.101 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.9466, allocations: 0 / 1.101 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9467, allocations: 0 / 1.101 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.9467, allocations: 0 / 1.101 GB, free: 9.293 MB / 0.8575 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.003248/0.9499, allocations: 1.707 MB / 1.102 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.95, allocations: 8.031 kB / 1.102 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009478/0.9509, allocations: 265.6 kB / 1.103 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.9524, allocations: 0.9342 MB / 1.104 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.9525, allocations: 115.1 kB / 1.104 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.9527, allocations: 152 kB / 1.104 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.9555, allocations: 1.576 MB / 1.105 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.9555, allocations: 0 / 1.105 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.9556, allocations: 67.95 kB / 1.105 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.9557, allocations: 36 kB / 1.105 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.9584, allocations: 1.631 MB / 1.107 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006978/0.9653, allocations: 4.175 MB / 1.111 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.9674, allocations: 1.18 MB / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007635/0.9682, allocations: 475.7 kB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.9683, allocations: 52.91 kB / 1.113 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.9696, allocations: 0.7783 MB / 1.114 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.9697, allocations: 0 / 1.114 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.004097/0.9738, allocations: 1.842 MB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.9739, allocations: 201.2 kB / 1.116 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.9751, allocations: 0.8575 MB / 1.116 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.9752, allocations: 53.7 kB / 1.116 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.9757, allocations: 0.6053 MB / 1.117 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.976, allocations: 406.2 kB / 1.117 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.9761, allocations: 28 kB / 1.117 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9762, allocations: 357.9 kB / 1.118 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008017/0.9771, allocations: 438.4 kB / 1.118 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008917/0.978, allocations: 0.565 MB / 1.119 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.9789, allocations: 498.3 kB / 1.119 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9789, allocations: 3.938 kB / 1.119 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002648/0.9815, allocations: 1.34 MB / 1.121 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.9816, allocations: 4 kB / 1.121 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.9816, allocations: 0 / 1.121 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/0.9821, allocations: 88.83 kB / 1.121 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9832, allocations: 263.6 kB / 1.121 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.9852, allocations: 1.551 MB / 1.122 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.9863, allocations: 172.2 kB / 1.123 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.9865, allocations: 51.95 kB / 1.123 GB, free: 2.328 MB / 0.8731 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 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000683/0.9872, allocations: 345.8 kB / 1.123 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.9874, allocations: 126.4 kB / 1.123 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.9908, allocations: 1.725 MB / 1.125 GB, free: 116 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.9909, allocations: 16 kB / 1.125 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.9909, allocations: 4 kB / 1.125 GB, free: 96 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.9909, allocations: 7.969 kB / 1.125 GB, free: 88 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.9925, allocations: 1.408 MB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.9925, allocations: 3.984 kB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008682/0.9934, allocations: 219.6 kB / 1.126 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.9939, allocations: 84.77 kB / 1.126 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/0.994, allocations: 39.97 kB / 1.126 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.9957, allocations: 1.56 MB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9957, allocations: 3.984 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.9983, allocations: 1.406 MB / 1.129 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000606/0.9989, allocations: 410.8 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.9991, allocations: 31.98 kB / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/0.9999, allocations: 108.5 kB / 1.13 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1, allocations: 117.1 kB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/1, allocations: 55.97 kB / 1.13 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008191/1.001, allocations: 0.6347 MB / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.054e-06/1.001, allocations: 0 / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001129/1.002, allocations: 466.6 kB / 1.131 GB, free: 9.32 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/1.004, allocations: 0.6236 MB / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002517/1.006, allocations: 1.263 MB / 1.133 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.006, allocations: 0 / 1.133 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.007, allocations: 0.7362 MB / 1.134 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.009, allocations: 282.7 kB / 1.134 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/1.014, allocations: 3.33 MB / 1.137 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/1.015, allocations: 1.24 MB / 1.138 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001111/1.016, allocations: 333.8 kB / 1.139 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/1.016, allocations: 155.3 kB / 1.139 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of SimCode: time 1.142e-06/1.016, allocations: 0 / 1.139 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of Templates: time 0.03205/1.049, allocations: 19.03 MB / 1.157 GB, free: 14.59 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