Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001842/0.001842, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001972/0.001972, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.048/3.048, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.164e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007704/0.007735, allocations: 4.645 MB / 0.8153 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.207/0.2148, allocations: 146.3 MB / 0.9581 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008444/0.2156, allocations: 23.81 kB / 0.9582 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007908/0.2164, allocations: 202.1 kB / 0.9584 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.2187, allocations: 0.5708 MB / 0.9589 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.221, allocations: 0.8725 MB / 0.9598 GB, free: 9.066 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.2242, allocations: 1.463 MB / 0.9612 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.2255, allocations: 414.8 kB / 0.9616 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.2274, allocations: 0.7407 MB / 0.9623 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009934/0.2284, allocations: 413 kB / 0.9627 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003092/0.2287, allocations: 124 kB / 0.9628 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.23, allocations: 0.4993 MB / 0.9633 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.2304, allocations: 311 kB / 0.9636 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007589/0.2312, allocations: 399 kB / 0.964 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.2343, allocations: 1.826 MB / 0.9658 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2343, allocations: 4 kB / 0.9658 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2343, allocations: 0 / 0.9658 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.042e-05/0.2344, allocations: 3.938 kB / 0.9658 GB, free: 2.867 MB / 0.9167 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.003713/0.2381, allocations: 1.601 MB / 0.9673 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2382, allocations: 12.03 kB / 0.9674 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.24, allocations: 347.4 kB / 0.9677 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.2415, allocations: 0.7404 MB / 0.9684 GB, free: 104 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/0.2416, allocations: 70.12 kB / 0.9685 GB, free: 36 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.2418, allocations: 95.98 kB / 0.9686 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.244, allocations: 1.227 MB / 0.9698 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.244, allocations: 3.938 kB / 0.9698 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.2441, allocations: 36 kB / 0.9698 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.2441, allocations: 20 kB / 0.9698 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.2461, allocations: 1.026 MB / 0.9708 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00582/0.2519, allocations: 3.117 MB / 0.9739 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.2536, allocations: 0.7467 MB / 0.9746 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.2541, allocations: 272.1 kB / 0.9749 GB, free: 9.277 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.062e-05/0.2542, allocations: 28.64 kB / 0.9749 GB, free: 9.25 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.2553, allocations: 0.6196 MB / 0.9755 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 5.791e-06/0.2553, allocations: 3.984 kB / 0.9755 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.003389/0.2587, allocations: 1.101 MB / 0.9766 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.2589, allocations: 200.9 kB / 0.9768 GB, free: 7.234 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.2601, allocations: 0.7573 MB / 0.9775 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.585e-05/0.2602, allocations: 49.7 kB / 0.9775 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/0.2607, allocations: 491.9 kB / 0.978 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.261, allocations: 309.6 kB / 0.9783 GB, free: 5.613 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.2614, allocations: 220.2 kB / 0.9785 GB, free: 5.391 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004254/0.2618, allocations: 0.6172 MB / 0.9791 GB, free: 4.762 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.2624, allocations: 249.9 kB / 0.9794 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/0.2634, allocations: 0.5056 MB / 0.9799 GB, free: 3.961 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.2646, allocations: 0.5889 MB / 0.9804 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2646, allocations: 0 / 0.9804 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002398/0.267, allocations: 0.8754 MB / 0.9813 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.267, allocations: 4 kB / 0.9813 GB, free: 2.465 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2671, allocations: 4 kB / 0.9813 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.2681, allocations: 143.6 kB / 0.9814 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/0.2689, allocations: 175.7 kB / 0.9816 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.2718, allocations: 2.042 MB / 0.9836 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.2725, allocations: 75.73 kB / 0.9837 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.2726, allocations: 44 kB / 0.9837 GB, free: 15.86 MB / 0.948 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.0005775/0.2732, allocations: 291 kB / 0.984 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.2735, allocations: 111.5 kB / 0.9841 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.2762, allocations: 1.022 MB / 0.9851 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.2762, allocations: 12 kB / 0.9851 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2762, allocations: 0 / 0.9851 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.2762, allocations: 7.969 kB / 0.9851 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004628/0.2809, allocations: 2.04 MB / 0.9871 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2809, allocations: 0 / 0.9871 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.2815, allocations: 147.8 kB / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/0.2823, allocations: 135.5 kB / 0.9874 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.2824, allocations: 31.91 kB / 0.9874 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.285, allocations: 2.066 MB / 0.9894 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.285, allocations: 0 / 0.9894 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.2874, allocations: 1.072 MB / 0.9905 GB, free: 8.688 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.288, allocations: 199.1 kB / 0.9907 GB, free: 8.492 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.2882, allocations: 24.06 kB / 0.9907 GB, free: 8.469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.2888, allocations: 43.95 kB / 0.9907 GB, free: 8.426 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.289, allocations: 80.8 kB / 0.9908 GB, free: 8.348 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/0.2891, allocations: 43.91 kB / 0.9908 GB, free: 8.305 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007601/0.2898, allocations: 487 kB / 0.9913 GB, free: 7.832 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.2898, allocations: 0 / 0.9913 GB, free: 7.832 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001081/0.2909, allocations: 347.1 kB / 0.9916 GB, free: 7.492 MB / 0.948 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.003532/0.2944, allocations: 0.6617 MB / 0.9923 GB, free: 7.035 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.2965, allocations: 0.8946 MB / 0.9932 GB, free: 6.117 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2965, allocations: 0 / 0.9932 GB, free: 6.117 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.2978, allocations: 0.5791 MB / 0.9937 GB, free: 5.516 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.2993, allocations: 325.4 kB / 0.994 GB, free: 5.219 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.3029, allocations: 1.642 MB / 0.9956 GB, free: 3.539 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.3036, allocations: 436.4 kB / 0.9961 GB, free: 3.082 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008409/0.3044, allocations: 254.7 kB / 0.9963 GB, free: 2.828 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.3047, allocations: 104.5 kB / 0.9964 GB, free: 2.727 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/0.3047, allocations: 0 / 0.9964 GB, free: 2.727 MB / 0.948 GB Notification: Performance of Templates: time 0.032/0.3367, allocations: 15.86 MB / 1.012 GB, free: 3.148 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.991435450036079]