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.001727/0.001727, allocations: 88.72 kB / 19.44 MB, free: 356 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.002221/0.002221, allocations: 157.6 kB / 22.75 MB, free: 1.68 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.26/3.26, allocations: 429.6 MB / 0.673 GB, free: 3.898 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.703e-06/1.703e-06, allocations: 0 / 0.8776 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.236e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007689/0.007721, allocations: 4.374 MB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2011/0.2088, allocations: 132.7 MB / 1.011 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008854/0.2097, allocations: 19.88 kB / 1.011 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.2106, allocations: 206.1 kB / 1.012 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.2128, allocations: 0.5631 MB / 1.012 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.2155, allocations: 0.8569 MB / 1.013 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.2178, allocations: 1.459 MB / 1.014 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.2189, allocations: 393.8 kB / 1.015 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.2204, allocations: 0.7289 MB / 1.016 GB, free: 8.695 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/0.2213, allocations: 406.9 kB / 1.016 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003371/0.2217, allocations: 120 kB / 1.016 GB, free: 8.18 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.223, allocations: 499.3 kB / 1.017 GB, free: 7.691 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.2235, allocations: 315 kB / 1.017 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.2241, allocations: 391 kB / 1.017 GB, free: 7 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.2274, allocations: 1.783 MB / 1.019 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2274, allocations: 0 / 1.019 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2274, allocations: 0 / 1.019 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.2274, allocations: 0 / 1.019 GB, free: 5.211 MB / 0.9792 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.00288/0.2303, allocations: 1.415 MB / 1.02 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2303, allocations: 8.031 kB / 1.02 GB, free: 3.746 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.2319, allocations: 339.5 kB / 1.021 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.2335, allocations: 0.7329 MB / 1.021 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.2336, allocations: 74.11 kB / 1.021 GB, free: 2.582 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.2337, allocations: 88 kB / 1.022 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.2357, allocations: 1.181 MB / 1.023 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2358, allocations: 0 / 1.023 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2359, allocations: 39.98 kB / 1.023 GB, free: 1.176 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.2359, allocations: 20 kB / 1.023 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.2379, allocations: 1.057 MB / 1.024 GB, free: 100 kB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.2425, allocations: 2.213 MB / 1.026 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.2442, allocations: 0.7946 MB / 1.027 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.2448, allocations: 298.7 kB / 1.027 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.585e-05/0.2449, allocations: 30.33 kB / 1.027 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.246, allocations: 0.6046 MB / 1.028 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.246, allocations: 4 kB / 1.028 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=87): time 0.0039/0.2499, allocations: 1.192 MB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.2501, allocations: 196.9 kB / 1.029 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009484/0.251, allocations: 0.6095 MB / 1.03 GB, free: 10 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.866e-05/0.2511, allocations: 45.7 kB / 1.03 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.2516, allocations: 397.2 kB / 1.03 GB, free: 9.555 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.2519, allocations: 293.5 kB / 1.03 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.2522, allocations: 182.5 kB / 1.03 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002665/0.2525, allocations: 382.8 kB / 1.031 GB, free: 8.699 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.2531, allocations: 293.8 kB / 1.031 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000864/0.254, allocations: 0.5035 MB / 1.032 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.2554, allocations: 0.6442 MB / 1.032 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2554, allocations: 0 / 1.032 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00256/0.2579, allocations: 0.9507 MB / 1.033 GB, free: 6.246 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.258, allocations: 4 kB / 1.033 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.258, allocations: 0 / 1.033 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.259, allocations: 132.8 kB / 1.033 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.2598, allocations: 159.8 kB / 1.033 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.2624, allocations: 1.508 MB / 1.035 GB, free: 4.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.2632, allocations: 95.58 kB / 1.035 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.2633, allocations: 44.03 kB / 1.035 GB, free: 4.203 MB / 0.9948 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.0008086/0.2641, allocations: 268.3 kB / 1.035 GB, free: 3.934 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.2644, allocations: 119.4 kB / 1.035 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.2672, allocations: 1.07 MB / 1.036 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2672, allocations: 8 kB / 1.036 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2672, allocations: 7.922 kB / 1.036 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2672, allocations: 7.984 kB / 1.036 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.2713, allocations: 1.872 MB / 1.038 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2713, allocations: 0 / 1.038 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.2719, allocations: 151.8 kB / 1.038 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008145/0.2727, allocations: 116.7 kB / 1.039 GB, free: 0.5234 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.2728, allocations: 23.98 kB / 1.039 GB, free: 0.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.2752, allocations: 1.533 MB / 1.04 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2752, allocations: 0 / 1.04 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.2777, allocations: 1.057 MB / 1.041 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.2782, allocations: 199.1 kB / 1.041 GB, free: 13.59 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.2784, allocations: 20 kB / 1.041 GB, free: 13.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.2791, allocations: 71.92 kB / 1.041 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.2793, allocations: 73 kB / 1.041 GB, free: 13.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.2793, allocations: 35.92 kB / 1.041 GB, free: 13.39 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006792/0.28, allocations: 431 kB / 1.042 GB, free: 12.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.28, allocations: 0 / 1.042 GB, free: 12.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001077/0.2811, allocations: 343.1 kB / 1.042 GB, free: 12.64 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.002662/0.2838, allocations: 0.6623 MB / 1.043 GB, free: 12.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.2858, allocations: 0.8352 MB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2858, allocations: 3.938 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.2869, allocations: 0.5 MB / 1.044 GB, free: 10.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.2883, allocations: 330.8 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.2918, allocations: 1.684 MB / 1.046 GB, free: 8.793 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.2923, allocations: 436.2 kB / 1.047 GB, free: 8.332 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008634/0.2932, allocations: 270.6 kB / 1.047 GB, free: 8.062 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.2935, allocations: 104.5 kB / 1.047 GB, free: 7.957 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.2935, allocations: 0 / 1.047 GB, free: 7.957 MB / 1.01 GB Notification: Performance of Templates: time 0.3602/0.6537, allocations: 15.6 MB / 1.062 GB, free: 217.6 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 800] 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.602374490001239]