Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001441/0.001441, allocations: 78.25 kB / 19.18 MB, free: 2.512 MB / 14.72 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.001739/0.001739, allocations: 163.8 kB / 22.46 MB, free: 5.367 MB / 14.72 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 1.602/1.602, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.747/2.747, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.045e-05, allocations: 9.453 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006654/0.006685, allocations: 4.373 MB / 0.9857 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.192, allocations: 132.7 MB / 1.115 GB, free: 2.379 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.1932, allocations: 23.81 kB / 1.115 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1943, allocations: 202.1 kB / 1.116 GB, free: 2.156 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.197, allocations: 0.565 MB / 1.116 GB, free: 1.594 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.1998, allocations: 0.8774 MB / 1.117 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002481/0.2023, allocations: 1.452 MB / 1.118 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.2035, allocations: 389.8 kB / 1.119 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.2055, allocations: 0.7406 MB / 1.119 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.2065, allocations: 394.8 kB / 1.12 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004136/0.2069, allocations: 128 kB / 1.12 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2084, allocations: 499.4 kB / 1.12 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004881/0.2088, allocations: 315 kB / 1.121 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008284/0.2097, allocations: 390.9 kB / 1.121 GB, free: 12.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.2131, allocations: 1.787 MB / 1.123 GB, free: 10.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2131, allocations: 0 / 1.123 GB, free: 10.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2131, allocations: 0 / 1.123 GB, free: 10.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.116e-05/0.2132, allocations: 0 / 1.123 GB, free: 10.63 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003512/0.2167, allocations: 1.418 MB / 1.124 GB, free: 9.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2167, allocations: 12.02 kB / 1.124 GB, free: 9.168 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.2184, allocations: 232 kB / 1.124 GB, free: 8.941 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.2198, allocations: 0.7142 MB / 1.125 GB, free: 8.199 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.2198, allocations: 70.12 kB / 1.125 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.22, allocations: 91.98 kB / 1.125 GB, free: 8.039 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.2219, allocations: 1.169 MB / 1.126 GB, free: 6.77 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2219, allocations: 4 kB / 1.126 GB, free: 6.766 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/0.222, allocations: 36 kB / 1.126 GB, free: 6.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.222, allocations: 20 kB / 1.126 GB, free: 6.711 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.2239, allocations: 1.057 MB / 1.128 GB, free: 5.652 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/0.2282, allocations: 2.206 MB / 1.13 GB, free: 3.391 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.2299, allocations: 0.7906 MB / 1.13 GB, free: 2.594 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.2305, allocations: 290.7 kB / 1.131 GB, free: 2.309 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-05/0.2306, allocations: 28.62 kB / 1.131 GB, free: 2.281 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.2316, allocations: 0.6024 MB / 1.131 GB, free: 1.641 MB / 1.076 GB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/0.2316, allocations: 0 / 1.131 GB, free: 1.641 MB / 1.076 GB Notification: Performance of matching and sorting (n=87): time 0.003491/0.2351, allocations: 1.16 MB / 1.132 GB, free: 484 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.2352, allocations: 204.9 kB / 1.133 GB, free: 232 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4964/0.7316, allocations: 0.5984 MB / 1.133 GB, free: 195.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.7318, allocations: 52.42 kB / 1.133 GB, free: 195.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.7321, allocations: 396.7 kB / 1.134 GB, free: 195 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.7324, allocations: 290 kB / 1.134 GB, free: 194.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.7326, allocations: 184.8 kB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.7327, allocations: 384 kB / 1.135 GB, free: 194.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.7332, allocations: 290.5 kB / 1.135 GB, free: 194.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/0.7339, allocations: 0.5014 MB / 1.135 GB, free: 194.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.7349, allocations: 0.6422 MB / 1.136 GB, free: 193.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7349, allocations: 1 kB / 1.136 GB, free: 193.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001885/0.7368, allocations: 0.9203 MB / 1.137 GB, free: 193.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7368, allocations: 5.969 kB / 1.137 GB, free: 193.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7368, allocations: 0 / 1.137 GB, free: 193.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.7374, allocations: 83.23 kB / 1.137 GB, free: 193.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.7381, allocations: 172.9 kB / 1.137 GB, free: 193.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.74, allocations: 1.493 MB / 1.139 GB, free: 192.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.7407, allocations: 99.83 kB / 1.139 GB, free: 192 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.7408, allocations: 37.7 kB / 1.139 GB, free: 192 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0004529/0.7413, allocations: 278.1 kB / 1.139 GB, free: 191.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.7414, allocations: 82.33 kB / 1.139 GB, free: 191.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.7435, allocations: 1.095 MB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.7435, allocations: 8.688 kB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7435, allocations: 0 / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.7436, allocations: 3.234 kB / 1.14 GB, free: 191.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.7466, allocations: 1.88 MB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7466, allocations: 0 / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.7471, allocations: 143.3 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.7476, allocations: 75.19 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.7476, allocations: 24.12 kB / 1.142 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.7491, allocations: 1.532 MB / 1.144 GB, free: 189.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7491, allocations: 0 / 1.144 GB, free: 189.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.751, allocations: 1.031 MB / 1.145 GB, free: 188.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.7514, allocations: 198 kB / 1.145 GB, free: 188.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.7516, allocations: 21.78 kB / 1.145 GB, free: 188.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.7522, allocations: 62.84 kB / 1.145 GB, free: 188.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.7524, allocations: 79.17 kB / 1.145 GB, free: 188.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.7524, allocations: 42.31 kB / 1.145 GB, free: 188.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005112/0.7529, allocations: 432 kB / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7529, allocations: 0 / 1.145 GB, free: 188.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009966/0.7539, allocations: 343.5 kB / 1.146 GB, free: 188.2 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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: 10 (weaDat.conTim.tNext,weaDat.eqnTim.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 87 * 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.002038/0.756, allocations: 0.6624 MB / 1.146 GB, free: 188.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.7576, allocations: 0.8288 MB / 1.147 GB, free: 187.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7576, allocations: 6.719 kB / 1.147 GB, free: 187.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.7584, allocations: 0.5031 MB / 1.148 GB, free: 187.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.7598, allocations: 293.4 kB / 1.148 GB, free: 187.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.7625, allocations: 1.662 MB / 1.15 GB, free: 186.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.7628, allocations: 443.6 kB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007229/0.7635, allocations: 275 kB / 1.15 GB, free: 186.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.7638, allocations: 108.5 kB / 1.15 GB, free: 186.3 MB / 1.076 GB Notification: Performance of SimCode: time 1.653e-06/0.7638, allocations: 0 / 1.15 GB, free: 186.3 MB / 1.076 GB Notification: Performance of Templates: time 0.02682/0.7906, allocations: 15.57 MB / 1.166 GB, free: 184.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: 9.403076346963644]