Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.05 kB / 19.44 MB, free: 320 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.001913/0.001913, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.351/3.351, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.087e-05/4.423e-05, allocations: 3.156 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.009494/0.009539, allocations: 4.743 MB / 0.8821 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2196/0.2291, allocations: 146.3 MB / 1.025 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000971/0.2301, allocations: 23.81 kB / 1.025 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.2308, allocations: 206.1 kB / 1.025 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.2328, allocations: 0.5824 MB / 1.026 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.2352, allocations: 0.8881 MB / 1.027 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.2373, allocations: 1.522 MB / 1.028 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008882/0.2382, allocations: 401.9 kB / 1.028 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.2398, allocations: 0.7758 MB / 1.029 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/0.2405, allocations: 433.1 kB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.2407, allocations: 124 kB / 1.03 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2419, allocations: 0.4993 MB / 1.03 GB, free: 9.609 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.2423, allocations: 326.9 kB / 1.031 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.2428, allocations: 407 kB / 1.031 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.2457, allocations: 1.853 MB / 1.033 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2457, allocations: 0 / 1.033 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2457, allocations: 0 / 1.033 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.2457, allocations: 0 / 1.033 GB, free: 7.031 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00331/0.249, allocations: 1.665 MB / 1.034 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2491, allocations: 8.031 kB / 1.034 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.2509, allocations: 351.5 kB / 1.035 GB, free: 4.965 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.2524, allocations: 0.7481 MB / 1.035 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.2525, allocations: 78.11 kB / 1.036 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.2526, allocations: 96 kB / 1.036 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.255, allocations: 1.247 MB / 1.037 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.255, allocations: 4 kB / 1.037 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.2551, allocations: 36 kB / 1.037 GB, free: 2.621 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.2551, allocations: 20 kB / 1.037 GB, free: 2.602 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.2571, allocations: 1.042 MB / 1.038 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005813/0.2629, allocations: 3.079 MB / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2646, allocations: 0.7717 MB / 1.042 GB, free: 13.6 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/0.2652, allocations: 290.5 kB / 1.042 GB, free: 13.31 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.2653, allocations: 32.97 kB / 1.042 GB, free: 13.28 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.2667, allocations: 0.6627 MB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of pre-optimization done (n=94): time 2.585e-06/0.2667, allocations: 0 / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=94): time 0.003518/0.2702, allocations: 1.159 MB / 1.044 GB, free: 11.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.2704, allocations: 196.9 kB / 1.044 GB, free: 11.17 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2715, allocations: 0.7807 MB / 1.045 GB, free: 10.37 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.059e-05/0.2716, allocations: 49.7 kB / 1.045 GB, free: 10.32 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.2721, allocations: 496 kB / 1.045 GB, free: 9.824 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.2725, allocations: 329.4 kB / 1.046 GB, free: 9.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/0.2728, allocations: 232.2 kB / 1.046 GB, free: 9.266 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004132/0.2732, allocations: 0.6133 MB / 1.046 GB, free: 8.641 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.2738, allocations: 265.9 kB / 1.047 GB, free: 8.379 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/0.2747, allocations: 0.5251 MB / 1.047 GB, free: 7.805 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.276, allocations: 0.628 MB / 1.048 GB, free: 7.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.276, allocations: 0 / 1.048 GB, free: 7.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002374/0.2784, allocations: 0.93 MB / 1.049 GB, free: 6.223 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.2784, allocations: 8 kB / 1.049 GB, free: 6.215 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2784, allocations: 0 / 1.049 GB, free: 6.215 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.2794, allocations: 143.6 kB / 1.049 GB, free: 6.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.2803, allocations: 187.8 kB / 1.049 GB, free: 5.887 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.2833, allocations: 2.027 MB / 1.051 GB, free: 3.727 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/0.284, allocations: 91.58 kB / 1.051 GB, free: 3.637 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.2841, allocations: 43.91 kB / 1.051 GB, free: 3.594 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 (115): * Single equations (assignments): 114 * 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.0005116/0.2846, allocations: 295.2 kB / 1.051 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.2849, allocations: 111.5 kB / 1.051 GB, free: 3.188 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.2876, allocations: 1.1 MB / 1.053 GB, free: 2.07 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.2876, allocations: 12 kB / 1.053 GB, free: 2.059 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.2876, allocations: 0 / 1.053 GB, free: 2.059 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.2876, allocations: 7.969 kB / 1.053 GB, free: 2.051 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3832/0.6708, allocations: 2.149 MB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6708, allocations: 0 / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.6715, allocations: 160.4 kB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/0.6723, allocations: 126.6 kB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.482e-05/0.6723, allocations: 24.95 kB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.674, allocations: 2.057 MB / 1.057 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.674, allocations: 4.781 kB / 1.057 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.676, allocations: 1.128 MB / 1.058 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.6764, allocations: 209.8 kB / 1.058 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6765, allocations: 22.31 kB / 1.058 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.6771, allocations: 55.27 kB / 1.058 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6772, allocations: 84.48 kB / 1.058 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.6773, allocations: 41.17 kB / 1.058 GB, free: 216.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005107/0.6778, allocations: 0.4899 MB / 1.059 GB, free: 216.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6778, allocations: 0 / 1.059 GB, free: 216.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008906/0.6787, allocations: 353.8 kB / 1.059 GB, free: 216.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: 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 (108): * Single equations (assignments): 95 * 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.003224/0.6819, allocations: 0.6704 MB / 1.06 GB, free: 216.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.6836, allocations: 0.9282 MB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6836, allocations: 3.375 kB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.6844, allocations: 0.6046 MB / 1.061 GB, free: 215.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.6857, allocations: 327.1 kB / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.6884, allocations: 1.713 MB / 1.063 GB, free: 214.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.6888, allocations: 450.3 kB / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008651/0.6897, allocations: 270.2 kB / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.69, allocations: 121.2 kB / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.953e-06/0.69, allocations: 0 / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of Templates: time 0.02445/0.7144, allocations: 16.4 MB / 1.08 GB, free: 212.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.67640068300534]