Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008079/0.0008079, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007858/0.0007858, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8448/0.8448, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.715/1.715, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.841e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006892/0.006921, allocations: 4.514 MB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6101/0.617, allocations: 132.9 MB / 1.135 GB, free: 14.77 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009162/0.6179, allocations: 23.78 kB / 1.135 GB, free: 14.76 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.6185, allocations: 200.1 kB / 1.135 GB, free: 14.63 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.6203, allocations: 0.6121 MB / 1.136 GB, free: 14.27 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.6221, allocations: 0.8866 MB / 1.137 GB, free: 13.81 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.6235, allocations: 1.544 MB / 1.138 GB, free: 12.99 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006707/0.6242, allocations: 403.7 kB / 1.139 GB, free: 12.77 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.6251, allocations: 0.7917 MB / 1.139 GB, free: 12.39 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.6257, allocations: 439.6 kB / 1.14 GB, free: 12.23 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.6259, allocations: 129.4 kB / 1.14 GB, free: 12.23 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009506/0.6268, allocations: 0.4998 MB / 1.14 GB, free: 12.12 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.6271, allocations: 331.1 kB / 1.141 GB, free: 11.9 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.6274, allocations: 420.6 kB / 1.141 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.6296, allocations: 1.869 MB / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6296, allocations: 10.05 kB / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6296, allocations: 0 / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.6296, allocations: 0 / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002105/0.6317, allocations: 1.478 MB / 1.144 GB, free: 9.949 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.6317, allocations: 10.66 kB / 1.144 GB, free: 9.949 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.6328, allocations: 276.1 kB / 1.145 GB, free: 9.871 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.6339, allocations: 0.7425 MB / 1.145 GB, free: 9.406 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.634, allocations: 71.98 kB / 1.146 GB, free: 9.379 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.6341, allocations: 98.48 kB / 1.146 GB, free: 9.344 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.6356, allocations: 1.244 MB / 1.147 GB, free: 8.582 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.6356, allocations: 3.938 kB / 1.147 GB, free: 8.578 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.6357, allocations: 39.62 kB / 1.147 GB, free: 8.551 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6357, allocations: 21.84 kB / 1.147 GB, free: 8.551 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.6373, allocations: 1.122 MB / 1.148 GB, free: 8.273 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.6406, allocations: 2.31 MB / 1.15 GB, free: 6.938 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.6419, allocations: 0.8584 MB / 1.151 GB, free: 6.605 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.6423, allocations: 326.8 kB / 1.151 GB, free: 6.477 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.369e-05/0.6424, allocations: 29.17 kB / 1.151 GB, free: 6.473 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008772/0.6433, allocations: 0.6559 MB / 1.152 GB, free: 6.117 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 5.32e-06/0.6433, allocations: 0 / 1.152 GB, free: 6.117 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.002301/0.6456, allocations: 1.273 MB / 1.153 GB, free: 5.664 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.6457, allocations: 200.7 kB / 1.154 GB, free: 5.441 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.6464, allocations: 0.6358 MB / 1.154 GB, free: 5.156 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.6465, allocations: 50.5 kB / 1.154 GB, free: 5.109 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.6467, allocations: 420.7 kB / 1.155 GB, free: 4.781 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.6469, allocations: 324.8 kB / 1.155 GB, free: 4.523 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.6472, allocations: 201.1 kB / 1.155 GB, free: 4.43 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6473, allocations: 392.2 kB / 1.155 GB, free: 4.082 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.6478, allocations: 325.3 kB / 1.156 GB, free: 3.969 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.6484, allocations: 0.5433 MB / 1.156 GB, free: 3.633 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.6494, allocations: 0.7146 MB / 1.157 GB, free: 3.301 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6494, allocations: 2.156 kB / 1.157 GB, free: 3.301 MB / 1.01 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001633/0.651, allocations: 1.014 MB / 1.158 GB, free: 2.898 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6511, allocations: 6.781 kB / 1.158 GB, free: 2.898 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.6511, allocations: 1.031 kB / 1.158 GB, free: 2.898 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.6514, allocations: 84.12 kB / 1.158 GB, free: 2.879 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.6519, allocations: 198 kB / 1.158 GB, free: 2.855 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.6534, allocations: 1.49 MB / 1.16 GB, free: 1.496 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.6539, allocations: 105.6 kB / 1.16 GB, free: 1.441 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.6539, allocations: 49.08 kB / 1.16 GB, free: 1.43 MB / 1.01 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,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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.0003484/0.6543, allocations: 287.1 kB / 1.16 GB, free: 1.215 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.6544, allocations: 98.11 kB / 1.16 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.6563, allocations: 1.185 MB / 1.161 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.6563, allocations: 14.91 kB / 1.161 GB, free: 0.7031 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6563, allocations: 0 / 1.161 GB, free: 0.7031 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.6563, allocations: 6.922 kB / 1.161 GB, free: 0.7031 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.6595, allocations: 2.057 MB / 1.163 GB, free: 15.69 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6595, allocations: 0 / 1.163 GB, free: 15.69 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.6599, allocations: 161.4 kB / 1.164 GB, free: 15.68 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.6602, allocations: 73.55 kB / 1.164 GB, free: 15.66 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.6603, allocations: 34.73 kB / 1.164 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.6615, allocations: 1.53 MB / 1.165 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6615, allocations: 0.75 kB / 1.165 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.6631, allocations: 1.101 MB / 1.166 GB, free: 13.76 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.6634, allocations: 208 kB / 1.166 GB, free: 13.65 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.6635, allocations: 27.12 kB / 1.166 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.6639, allocations: 76.42 kB / 1.167 GB, free: 13.61 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.6641, allocations: 88.53 kB / 1.167 GB, free: 13.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/0.6641, allocations: 43.8 kB / 1.167 GB, free: 13.58 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005468/0.6647, allocations: 456.2 kB / 1.167 GB, free: 13.38 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6647, allocations: 1.188 kB / 1.167 GB, free: 13.38 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009847/0.6657, allocations: 353.6 kB / 1.167 GB, free: 13.29 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001348/0.667, allocations: 0.6727 MB / 1.168 GB, free: 13.02 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.6686, allocations: 0.907 MB / 1.169 GB, free: 12.66 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6686, allocations: 1.281 kB / 1.169 GB, free: 12.66 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.6693, allocations: 0.5372 MB / 1.17 GB, free: 12.41 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.6702, allocations: 299.9 kB / 1.17 GB, free: 12.3 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.6729, allocations: 1.82 MB / 1.172 GB, free: 11.35 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.6735, allocations: 466.6 kB / 1.172 GB, free: 11.21 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.6738, allocations: 130.2 kB / 1.172 GB, free: 11.19 MB / 1.026 GB Notification: Performance of SimCode: time 1.132e-06/0.6738, allocations: 0 / 1.172 GB, free: 11.19 MB / 1.026 GB Notification: Performance of Templates: time 0.02409/0.6979, allocations: 20.29 MB / 1.192 GB, free: 3.914 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.861169727519155]