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.002074/0.002074, allocations: 88.72 kB / 19.44 MB, free: 352 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.002595/0.002595, allocations: 157.7 kB / 22.76 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.25/3.25, allocations: 429.6 MB / 0.673 GB, free: 3.883 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 2.184e-06/2.184e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.715e-05/3.933e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008807/0.008847, allocations: 4.48 MB / 0.882 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1971/0.206, allocations: 132.8 MB / 1.012 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.2068, allocations: 23.81 kB / 1.012 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.2075, allocations: 198.1 kB / 1.012 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.2096, allocations: 0.5864 MB / 1.012 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.2119, allocations: 0.8918 MB / 1.013 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.2142, allocations: 1.514 MB / 1.015 GB, free: 9.527 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.2151, allocations: 405.9 kB / 1.015 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.2163, allocations: 0.7719 MB / 1.016 GB, free: 8.34 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006931/0.217, allocations: 430.7 kB / 1.016 GB, free: 7.918 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.2172, allocations: 128 kB / 1.016 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.2183, allocations: 0.4954 MB / 1.017 GB, free: 7.297 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.2187, allocations: 322.9 kB / 1.017 GB, free: 6.98 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005288/0.2192, allocations: 407 kB / 1.018 GB, free: 6.582 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.2218, allocations: 1.865 MB / 1.019 GB, free: 4.711 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2218, allocations: 0 / 1.019 GB, free: 4.711 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2218, allocations: 0 / 1.019 GB, free: 4.711 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.2218, allocations: 0 / 1.019 GB, free: 4.711 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003227/0.225, allocations: 1.472 MB / 1.021 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2251, allocations: 12.03 kB / 1.021 GB, free: 3.184 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.2271, allocations: 363.4 kB / 1.021 GB, free: 2.828 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.2286, allocations: 0.7532 MB / 1.022 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-05/0.2287, allocations: 78.11 kB / 1.022 GB, free: 1.977 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.2288, allocations: 92 kB / 1.022 GB, free: 1.887 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.231, allocations: 1.224 MB / 1.023 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.231, allocations: 3.938 kB / 1.023 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.2311, allocations: 36 kB / 1.023 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.2312, allocations: 20 kB / 1.023 GB, free: 0.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.2333, allocations: 1.089 MB / 1.024 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/0.2384, allocations: 2.295 MB / 1.027 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.2403, allocations: 0.8413 MB / 1.028 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007555/0.2411, allocations: 319.8 kB / 1.028 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.283e-05/0.2412, allocations: 28.98 kB / 1.028 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.2424, allocations: 0.6361 MB / 1.028 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=94): time 2.424e-06/0.2424, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=94): time 0.003974/0.2463, allocations: 1.266 MB / 1.03 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.2465, allocations: 204.8 kB / 1.03 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009814/0.2475, allocations: 0.6173 MB / 1.03 GB, free: 9.055 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.2476, allocations: 53.7 kB / 1.031 GB, free: 8.996 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.248, allocations: 409.3 kB / 1.031 GB, free: 8.59 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.2484, allocations: 313.4 kB / 1.031 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.2487, allocations: 186.6 kB / 1.031 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000275/0.249, allocations: 394.7 kB / 1.032 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.2497, allocations: 305.8 kB / 1.032 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009424/0.2506, allocations: 0.5308 MB / 1.033 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.2521, allocations: 0.6833 MB / 1.033 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2521, allocations: 0 / 1.033 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002682/0.2548, allocations: 1.005 MB / 1.034 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.2548, allocations: 4 kB / 1.034 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2549, allocations: 0 / 1.034 GB, free: 5.113 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.2559, allocations: 132.8 kB / 1.034 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/0.2568, allocations: 183.7 kB / 1.035 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.2594, allocations: 1.508 MB / 1.036 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009744/0.2604, allocations: 98.88 kB / 1.036 GB, free: 3.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.2605, allocations: 48.03 kB / 1.036 GB, free: 3.043 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: 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.0007299/0.2612, allocations: 280.4 kB / 1.036 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.2616, allocations: 123.4 kB / 1.037 GB, free: 2.637 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.2649, allocations: 1.164 MB / 1.038 GB, free: 1.449 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.2649, allocations: 12 kB / 1.038 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2649, allocations: 0 / 1.038 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.2649, allocations: 7.969 kB / 1.038 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/0.27, allocations: 2.027 MB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.27, allocations: 0 / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/0.2707, allocations: 159.8 kB / 1.04 GB, free: 15.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008068/0.2715, allocations: 120.7 kB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.19e-05/0.2716, allocations: 27.98 kB / 1.04 GB, free: 15.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.274, allocations: 1.533 MB / 1.041 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.274, allocations: 0 / 1.041 GB, free: 13.4 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.2767, allocations: 1.127 MB / 1.043 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/0.2773, allocations: 215 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.2775, allocations: 27.98 kB / 1.043 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/0.2783, allocations: 75.86 kB / 1.043 GB, free: 11.94 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.2785, allocations: 80.84 kB / 1.043 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/0.2786, allocations: 35.98 kB / 1.043 GB, free: 11.83 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000748/0.2793, allocations: 447 kB / 1.043 GB, free: 11.39 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2793, allocations: 0 / 1.043 GB, free: 11.39 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001178/0.2805, allocations: 347.2 kB / 1.044 GB, free: 11.05 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.002605/0.2831, allocations: 0.6586 MB / 1.044 GB, free: 10.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.2854, allocations: 0.8975 MB / 1.045 GB, free: 9.688 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.2854, allocations: 4 kB / 1.045 GB, free: 9.684 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.2866, allocations: 0.5157 MB / 1.046 GB, free: 9.156 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.288, allocations: 336.7 kB / 1.046 GB, free: 8.855 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.2918, allocations: 1.777 MB / 1.048 GB, free: 7.043 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.2924, allocations: 465.6 kB / 1.048 GB, free: 6.555 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008987/0.2933, allocations: 267 kB / 1.049 GB, free: 6.289 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.2936, allocations: 112.4 kB / 1.049 GB, free: 6.18 MB / 1.01 GB Notification: Performance of SimCode: time 7.91e-07/0.2936, allocations: 4 kB / 1.049 GB, free: 6.176 MB / 1.01 GB Notification: Performance of Templates: time 0.3963/0.69, allocations: 16.35 MB / 1.065 GB, free: 217.1 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] 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.613976366003044]