Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001863/0.001863, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002054/0.002054, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.469/3.469, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0.6562 kB / 0.8774 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.912e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007794/0.007823, allocations: 4.628 MB / 0.882 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2047/0.2125, allocations: 146.3 MB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008187/0.2133, allocations: 23.81 kB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.2139, allocations: 198.1 kB / 1.025 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.2157, allocations: 0.5708 MB / 1.026 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.2177, allocations: 0.8607 MB / 1.026 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.2194, allocations: 1.456 MB / 1.028 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.2203, allocations: 389.8 kB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.2213, allocations: 0.7329 MB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.222, allocations: 402.8 kB / 1.029 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.2222, allocations: 124 kB / 1.029 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2232, allocations: 0.4915 MB / 1.03 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.2236, allocations: 311 kB / 1.03 GB, free: 9.723 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.2241, allocations: 391 kB / 1.031 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.2265, allocations: 1.783 MB / 1.032 GB, free: 7.551 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.2265, allocations: 12 kB / 1.032 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2265, allocations: 0 / 1.032 GB, free: 7.539 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.2265, allocations: 0 / 1.032 GB, free: 7.539 MB / 0.9948 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.002987/0.2295, allocations: 1.589 MB / 1.034 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.2295, allocations: 12.03 kB / 1.034 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.2311, allocations: 323.5 kB / 1.034 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.2325, allocations: 0.7201 MB / 1.035 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.2326, allocations: 74.11 kB / 1.035 GB, free: 4.754 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.2327, allocations: 95.94 kB / 1.035 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.2347, allocations: 1.204 MB / 1.036 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2348, allocations: 0 / 1.036 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.2349, allocations: 40 kB / 1.036 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.2349, allocations: 20 kB / 1.036 GB, free: 3.285 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.2368, allocations: 1.011 MB / 1.037 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005181/0.2419, allocations: 2.991 MB / 1.04 GB, free: 15.19 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.2435, allocations: 0.7287 MB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.244, allocations: 269.5 kB / 1.041 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.17e-05/0.2441, allocations: 32.62 kB / 1.041 GB, free: 14.14 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.2452, allocations: 0.6212 MB / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.2452, allocations: 0 / 1.042 GB, free: 13.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.00349/0.2487, allocations: 1.085 MB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.2488, allocations: 200.9 kB / 1.043 GB, free: 12.15 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2499, allocations: 0.7534 MB / 1.044 GB, free: 11.38 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-05/0.25, allocations: 49.69 kB / 1.044 GB, free: 11.32 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.2504, allocations: 483.9 kB / 1.044 GB, free: 10.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000326/0.2507, allocations: 317.5 kB / 1.045 GB, free: 10.53 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.2511, allocations: 212.2 kB / 1.045 GB, free: 10.31 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004174/0.2515, allocations: 0.6133 MB / 1.045 GB, free: 9.688 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.2521, allocations: 241.9 kB / 1.046 GB, free: 9.453 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.2529, allocations: 0.5017 MB / 1.046 GB, free: 8.902 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.2541, allocations: 0.585 MB / 1.047 GB, free: 8.301 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2541, allocations: 0 / 1.047 GB, free: 8.301 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002246/0.2563, allocations: 0.8715 MB / 1.048 GB, free: 7.418 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2563, allocations: 4 kB / 1.048 GB, free: 7.414 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2563, allocations: 0 / 1.048 GB, free: 7.414 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009953/0.2573, allocations: 139.7 kB / 1.048 GB, free: 7.273 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.2581, allocations: 179.8 kB / 1.048 GB, free: 7.098 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.2609, allocations: 2.03 MB / 1.05 GB, free: 4.941 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.2616, allocations: 83.48 kB / 1.05 GB, free: 4.859 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.2616, allocations: 39.97 kB / 1.05 GB, free: 4.82 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: 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.0005414/0.2622, allocations: 283 kB / 1.05 GB, free: 4.531 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.2624, allocations: 111.5 kB / 1.05 GB, free: 4.422 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.2649, allocations: 0.9943 MB / 1.051 GB, free: 3.41 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.265, allocations: 23.97 kB / 1.051 GB, free: 3.387 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.265, allocations: 0 / 1.051 GB, free: 3.387 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.265, allocations: 7.922 kB / 1.051 GB, free: 3.379 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.2691, allocations: 1.995 MB / 1.053 GB, free: 1.328 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2691, allocations: 0 / 1.053 GB, free: 1.328 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.2696, allocations: 147.8 kB / 1.053 GB, free: 1.184 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007886/0.2704, allocations: 119.5 kB / 1.054 GB, free: 1.062 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.2705, allocations: 27.97 kB / 1.054 GB, free: 1.035 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4017/0.6722, allocations: 2.055 MB / 1.056 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6722, allocations: 0 / 1.056 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.6743, allocations: 1.059 MB / 1.057 GB, free: 217.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/0.6748, allocations: 192.7 kB / 1.057 GB, free: 217.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.675, allocations: 24.94 kB / 1.057 GB, free: 217.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.6756, allocations: 50.25 kB / 1.057 GB, free: 217.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.6757, allocations: 77.14 kB / 1.057 GB, free: 217.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.6758, allocations: 32.61 kB / 1.057 GB, free: 217.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005179/0.6763, allocations: 488.1 kB / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6763, allocations: 0 / 1.057 GB, free: 217.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008876/0.6772, allocations: 341.2 kB / 1.058 GB, free: 217.5 MB / 1.01 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 (97): * Single equations (assignments): 86 * 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.003242/0.6804, allocations: 0.6568 MB / 1.058 GB, free: 217.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.6819, allocations: 0.8802 MB / 1.059 GB, free: 217.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6819, allocations: 3 kB / 1.059 GB, free: 217.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.6827, allocations: 0.5688 MB / 1.06 GB, free: 216.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.684, allocations: 331.9 kB / 1.06 GB, free: 216.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.6864, allocations: 1.621 MB / 1.062 GB, free: 216 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.6867, allocations: 432.2 kB / 1.062 GB, free: 215.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006478/0.6874, allocations: 254.7 kB / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.6876, allocations: 113.4 kB / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/0.6876, allocations: 0 / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of Templates: time 0.02699/0.7146, allocations: 15.64 MB / 1.078 GB, free: 213.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.744358250056393]