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.0009045/0.0009045, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008492/0.0008492, 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.9197/0.9197, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.726/1.726, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 0.9822 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.794e-05, allocations: 6.281 kB / 0.9822 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004653/0.004681, allocations: 4.361 MB / 0.9864 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6931/0.6978, allocations: 132.7 MB / 1.116 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008051/0.6986, allocations: 23.62 kB / 1.116 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.6992, allocations: 197.5 kB / 1.116 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.7007, allocations: 0.58 MB / 1.117 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.7022, allocations: 0.8665 MB / 1.118 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.7033, allocations: 1.45 MB / 1.119 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.7039, allocations: 393.9 kB / 1.119 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006967/0.7046, allocations: 0.7382 MB / 1.12 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.705, allocations: 395.6 kB / 1.121 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.7051, allocations: 126.3 kB / 1.121 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.7058, allocations: 0.4924 MB / 1.121 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.706, allocations: 308.9 kB / 1.121 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.7063, allocations: 388.7 kB / 1.122 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.7079, allocations: 1.79 MB / 1.124 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7079, allocations: 0 / 1.124 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7079, allocations: 5.375 kB / 1.124 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.7079, allocations: 0 / 1.124 GB, free: 2.773 MB / 0.9636 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.001719/0.7097, allocations: 1.418 MB / 1.125 GB, free: 1.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7097, allocations: 9.375 kB / 1.125 GB, free: 1.84 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007902/0.7105, allocations: 233.6 kB / 1.125 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.7114, allocations: 0.7102 MB / 1.126 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.7114, allocations: 72.88 kB / 1.126 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.7115, allocations: 85.47 kB / 1.126 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.7128, allocations: 1.179 MB / 1.127 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.7128, allocations: 5.062 kB / 1.127 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/0.7129, allocations: 32.44 kB / 1.127 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.7129, allocations: 21.03 kB / 1.127 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.714, allocations: 1.056 MB / 1.128 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.7166, allocations: 2.197 MB / 1.13 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.7176, allocations: 0.7904 MB / 1.131 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.718, allocations: 294.1 kB / 1.131 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.728e-05/0.7181, allocations: 27.28 kB / 1.132 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006392/0.7187, allocations: 0.6117 MB / 1.132 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=87): time 2.454e-06/0.7187, allocations: 0 / 1.132 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=87): time 0.001935/0.7206, allocations: 1.162 MB / 1.133 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.7207, allocations: 198.7 kB / 1.133 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.7213, allocations: 0.6002 MB / 1.134 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.7213, allocations: 50.73 kB / 1.134 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.7216, allocations: 400.7 kB / 1.134 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.7217, allocations: 285.7 kB / 1.135 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.7219, allocations: 180.2 kB / 1.135 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.722, allocations: 385 kB / 1.135 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.7224, allocations: 287.6 kB / 1.136 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.7228, allocations: 0.5076 MB / 1.136 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.7236, allocations: 0.6421 MB / 1.137 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7236, allocations: 0 / 1.137 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001183/0.7248, allocations: 0.9176 MB / 1.138 GB, free: 9.707 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7248, allocations: 5.281 kB / 1.138 GB, free: 9.707 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7248, allocations: 3.094 kB / 1.138 GB, free: 9.707 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005662/0.7254, allocations: 84.52 kB / 1.138 GB, free: 9.664 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.7257, allocations: 164.9 kB / 1.138 GB, free: 9.625 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.727, allocations: 1.5 MB / 1.139 GB, free: 8.191 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.7273, allocations: 103.3 kB / 1.139 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.7274, allocations: 38 kB / 1.139 GB, free: 8.109 MB / 0.9792 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.0002859/0.7277, allocations: 286.2 kB / 1.14 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.7278, allocations: 81.45 kB / 1.14 GB, free: 7.844 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.7291, allocations: 1.089 MB / 1.141 GB, free: 7.238 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.7291, allocations: 10.06 kB / 1.141 GB, free: 7.238 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7291, allocations: 2.781 kB / 1.141 GB, free: 7.238 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7291, allocations: 3.984 kB / 1.141 GB, free: 7.234 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.7312, allocations: 1.867 MB / 1.143 GB, free: 6.039 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7312, allocations: 4.062 kB / 1.143 GB, free: 6.035 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.7315, allocations: 149.6 kB / 1.143 GB, free: 6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.7317, allocations: 75.31 kB / 1.143 GB, free: 5.961 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.7317, allocations: 25.72 kB / 1.143 GB, free: 5.941 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.7328, allocations: 1.535 MB / 1.144 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.7328, allocations: 0 / 1.144 GB, free: 4.488 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.7339, allocations: 1.023 MB / 1.145 GB, free: 3.918 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.7341, allocations: 195.4 kB / 1.146 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.7342, allocations: 28.09 kB / 1.146 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.7345, allocations: 65.02 kB / 1.146 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7346, allocations: 77.98 kB / 1.146 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.7346, allocations: 37.53 kB / 1.146 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003355/0.735, allocations: 432.3 kB / 1.146 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.735, allocations: 0 / 1.146 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007044/0.7357, allocations: 337.5 kB / 1.147 GB, free: 3.305 MB / 0.9792 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.001069/0.7367, allocations: 0.6734 MB / 1.147 GB, free: 3.004 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.7378, allocations: 0.8367 MB / 1.148 GB, free: 2.566 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7378, allocations: 3.938 kB / 1.148 GB, free: 2.562 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.7383, allocations: 0.4946 MB / 1.148 GB, free: 2.281 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.7393, allocations: 284.9 kB / 1.149 GB, free: 2.137 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.7413, allocations: 1.72 MB / 1.15 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.7416, allocations: 439.2 kB / 1.151 GB, free: 0.8398 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.7418, allocations: 124.3 kB / 1.151 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of SimCode: time 1.082e-06/0.7418, allocations: 0 / 1.151 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of Templates: time 0.01606/0.7579, allocations: 19.15 MB / 1.17 GB, free: 15.9 MB / 1.01 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.324603592976928]