Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.001397/0.001397, 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.001563/0.001563, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.46/1.46, allocations: 177.2 MB / 203.1 MB, free: 5.598 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.18/3.18, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.78e-05, allocations: 3.75 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007421/0.007448, allocations: 4.389 MB / 0.8818 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1967/0.2041, allocations: 132.8 MB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008472/0.205, allocations: 23.81 kB / 1.012 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.2059, allocations: 202.1 kB / 1.012 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.2081, allocations: 0.563 MB / 1.012 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.2105, allocations: 0.8725 MB / 1.013 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00224/0.2128, allocations: 1.467 MB / 1.015 GB, free: 9.754 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009859/0.2138, allocations: 405.7 kB / 1.015 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.2154, allocations: 0.7368 MB / 1.016 GB, free: 8.602 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009103/0.2163, allocations: 414.8 kB / 1.016 GB, free: 8.195 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.2166, allocations: 128 kB / 1.016 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.2178, allocations: 0.4954 MB / 1.017 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.2182, allocations: 315 kB / 1.017 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.219, allocations: 395 kB / 1.017 GB, free: 6.879 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.222, allocations: 1.826 MB / 1.019 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.222, allocations: 0 / 1.019 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.102e-06/0.222, allocations: 0 / 1.019 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.776e-05/0.2221, allocations: 0 / 1.019 GB, free: 5.047 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003479/0.2255, allocations: 1.427 MB / 1.02 GB, free: 3.578 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2256, allocations: 12.03 kB / 1.021 GB, free: 3.566 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.2275, allocations: 355.4 kB / 1.021 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.2291, allocations: 0.7368 MB / 1.022 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.199e-05/0.2292, allocations: 74.11 kB / 1.022 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.2294, allocations: 88 kB / 1.022 GB, free: 2.297 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.2316, allocations: 1.189 MB / 1.023 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.2316, allocations: 0 / 1.023 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.2317, allocations: 36 kB / 1.023 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.2317, allocations: 24 kB / 1.023 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.2339, allocations: 1.073 MB / 1.024 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005279/0.2392, allocations: 2.268 MB / 1.026 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.241, allocations: 0.8095 MB / 1.027 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000652/0.2417, allocations: 294.7 kB / 1.027 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.2418, allocations: 32.62 kB / 1.027 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.2429, allocations: 0.6125 MB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=87): time 3.096e-06/0.2429, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=87): time 0.003718/0.2467, allocations: 1.196 MB / 1.029 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.2468, allocations: 196.9 kB / 1.029 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2479, allocations: 0.6017 MB / 1.03 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.248, allocations: 49.7 kB / 1.03 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.2485, allocations: 409.2 kB / 1.03 GB, free: 9.258 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.2488, allocations: 289.5 kB / 1.031 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/0.2491, allocations: 174.6 kB / 1.031 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.2494, allocations: 386.8 kB / 1.031 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.2501, allocations: 293.8 kB / 1.031 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009084/0.251, allocations: 0.5113 MB / 1.032 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.2526, allocations: 0.6481 MB / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2526, allocations: 0 / 1.033 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002656/0.2552, allocations: 0.9546 MB / 1.033 GB, free: 5.941 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.2552, allocations: 8 kB / 1.033 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2553, allocations: 0 / 1.033 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.2563, allocations: 136.8 kB / 1.034 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.2571, allocations: 171.7 kB / 1.034 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.2597, allocations: 1.512 MB / 1.035 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.2606, allocations: 91.56 kB / 1.035 GB, free: 3.922 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.2607, allocations: 40.05 kB / 1.035 GB, free: 3.883 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.000682/0.2614, allocations: 288.3 kB / 1.036 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.2617, allocations: 111.4 kB / 1.036 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.2646, allocations: 1.085 MB / 1.037 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.2646, allocations: 11.94 kB / 1.037 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2646, allocations: 0 / 1.037 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.2646, allocations: 7.984 kB / 1.037 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.2691, allocations: 1.903 MB / 1.039 GB, free: 412 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2691, allocations: 0 / 1.039 GB, free: 412 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.2698, allocations: 151.7 kB / 1.039 GB, free: 260 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008355/0.2706, allocations: 120.8 kB / 1.039 GB, free: 136 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.2707, allocations: 27.92 kB / 1.039 GB, free: 108 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.2732, allocations: 1.547 MB / 1.04 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2732, allocations: 0 / 1.04 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.2758, allocations: 1.057 MB / 1.041 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/0.2764, allocations: 207.1 kB / 1.042 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.2766, allocations: 24 kB / 1.042 GB, free: 13.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.2773, allocations: 63.92 kB / 1.042 GB, free: 13.08 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.2775, allocations: 80.8 kB / 1.042 GB, free: 13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/0.2776, allocations: 35.97 kB / 1.042 GB, free: 12.97 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007319/0.2783, allocations: 431.1 kB / 1.042 GB, free: 12.55 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.2783, allocations: 0 / 1.042 GB, free: 12.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001188/0.2795, allocations: 343.1 kB / 1.043 GB, free: 12.22 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.002656/0.2822, allocations: 0.6641 MB / 1.043 GB, free: 11.76 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.2844, allocations: 0.8427 MB / 1.044 GB, free: 10.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.2844, allocations: 4 kB / 1.044 GB, free: 10.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.2856, allocations: 0.4964 MB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.2871, allocations: 313.8 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.2909, allocations: 1.709 MB / 1.047 GB, free: 8.352 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.2916, allocations: 445.1 kB / 1.047 GB, free: 7.883 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009183/0.2926, allocations: 254.7 kB / 1.047 GB, free: 7.629 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.2929, allocations: 116.4 kB / 1.047 GB, free: 7.516 MB / 1.01 GB Notification: Performance of SimCode: time 1.673e-06/0.2929, allocations: 0 / 1.047 GB, free: 7.516 MB / 1.01 GB Notification: Performance of Templates: time 0.3919/0.6848, allocations: 15.77 MB / 1.063 GB, free: 217.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.528047765954398]