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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001969/0.001977, allocations: 114.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001947, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001979/0.001979, allocations: 67.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007106/1.068, allocations: 4.819 MB / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2244/1.292, allocations: 150.6 MB / 1.414 GB, free: 4.887 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/1.294, allocations: 18.56 kB / 1.414 GB, free: 4.879 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006581/1.294, allocations: 187.4 kB / 1.415 GB, free: 4.715 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002241/1.297, allocations: 0.5365 MB / 1.415 GB, free: 4.316 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002583/1.299, allocations: 0.8401 MB / 1.416 GB, free: 3.676 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002053/1.301, allocations: 1.386 MB / 1.417 GB, free: 2.812 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.302, allocations: 0.6036 MB / 1.418 GB, free: 2.434 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008878/1.303, allocations: 478.3 kB / 1.418 GB, free: 2.152 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007305/1.304, allocations: 0.5019 MB / 1.419 GB, free: 1.793 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001953/1.304, allocations: 117 kB / 1.419 GB, free: 1.793 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/1.305, allocations: 484.5 kB / 1.419 GB, free: 1.613 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003545/1.306, allocations: 302.2 kB / 1.42 GB, free: 1.375 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006231/1.306, allocations: 0.5554 MB / 1.42 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/1.309, allocations: 1.656 MB / 1.422 GB, free: 15.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.309, allocations: 1.125 kB / 1.422 GB, free: 15.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.793e-06/1.309, allocations: 0 / 1.422 GB, free: 15.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.753e-05/1.309, allocations: 0 / 1.422 GB, free: 15.77 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002687/1.312, allocations: 1.444 MB / 1.423 GB, free: 14.62 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.312, allocations: 9.062 kB / 1.423 GB, free: 14.62 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/1.313, allocations: 199.1 kB / 1.423 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.314, allocations: 0.7646 MB / 1.424 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/1.314, allocations: 63.5 kB / 1.424 GB, free: 13.87 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.314, allocations: 81.94 kB / 1.424 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.316, allocations: 0.9285 MB / 1.425 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.316, allocations: 0 / 1.425 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/1.316, allocations: 32.34 kB / 1.425 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/1.316, allocations: 20.97 kB / 1.425 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.318, allocations: 1.114 MB / 1.426 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004394/1.322, allocations: 2.762 MB / 1.429 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/1.324, allocations: 0.8926 MB / 1.43 GB, free: 9.922 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/1.324, allocations: 305.7 kB / 1.43 GB, free: 9.766 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/1.325, allocations: 27.39 kB / 1.43 GB, free: 9.754 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009309/1.326, allocations: 0.4958 MB / 1.431 GB, free: 9.426 MB / 1.123 GB Notification: Performance of pre-optimization done (n=79): time 3.146e-06/1.326, allocations: 0 / 1.431 GB, free: 9.426 MB / 1.123 GB Notification: Performance of matching and sorting (n=79): time 0.003291/1.329, allocations: 1.187 MB / 1.432 GB, free: 8.785 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/1.329, allocations: 192.8 kB / 1.432 GB, free: 8.562 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/1.33, allocations: 0.6267 MB / 1.433 GB, free: 8.195 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/1.33, allocations: 42.02 kB / 1.433 GB, free: 8.152 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/1.33, allocations: 399.6 kB / 1.433 GB, free: 7.801 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/1.331, allocations: 266.6 kB / 1.433 GB, free: 7.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/1.331, allocations: 162.4 kB / 1.433 GB, free: 7.469 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.331, allocations: 388.2 kB / 1.434 GB, free: 7.098 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/1.332, allocations: 271.2 kB / 1.434 GB, free: 6.965 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/1.332, allocations: 359.7 kB / 1.434 GB, free: 6.762 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/1.333, allocations: 0.6107 MB / 1.435 GB, free: 6.426 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.334, allocations: 7.875 kB / 1.435 GB, free: 6.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002089/1.336, allocations: 0.8464 MB / 1.436 GB, free: 5.988 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.336, allocations: 9.297 kB / 1.436 GB, free: 5.984 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.336, allocations: 1.094 kB / 1.436 GB, free: 5.984 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006274/1.336, allocations: 89.61 kB / 1.436 GB, free: 5.938 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/1.337, allocations: 162 kB / 1.436 GB, free: 5.895 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/1.339, allocations: 1.643 MB / 1.438 GB, free: 4.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/1.34, allocations: 95.56 kB / 1.438 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/1.34, allocations: 36.05 kB / 1.438 GB, free: 4.051 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (93): * Single equations (assignments): 92 * 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.0005529/1.341, allocations: 281.2 kB / 1.438 GB, free: 3.77 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/1.341, allocations: 87.44 kB / 1.438 GB, free: 3.684 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.343, allocations: 1.05 MB / 1.439 GB, free: 2.609 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.343, allocations: 12 kB / 1.439 GB, free: 2.598 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.343, allocations: 7.922 kB / 1.439 GB, free: 2.59 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.343, allocations: 3.984 kB / 1.439 GB, free: 2.586 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/1.347, allocations: 1.955 MB / 1.441 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.347, allocations: 4 kB / 1.441 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/1.348, allocations: 139.8 kB / 1.441 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/1.348, allocations: 68.78 kB / 1.441 GB, free: 372 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/1.348, allocations: 31.98 kB / 1.441 GB, free: 340 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/1.35, allocations: 1.678 MB / 1.443 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.35, allocations: 0 / 1.443 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.352, allocations: 1.002 MB / 1.444 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/1.353, allocations: 276.2 kB / 1.444 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.353, allocations: 27.98 kB / 1.444 GB, free: 13.17 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/1.354, allocations: 55.94 kB / 1.444 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.354, allocations: 68.89 kB / 1.444 GB, free: 13.05 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.551e-05/1.354, allocations: 35.98 kB / 1.444 GB, free: 13.02 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008187/1.355, allocations: 459 kB / 1.445 GB, free: 12.57 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.355, allocations: 0 / 1.445 GB, free: 12.57 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001262/1.356, allocations: 323.1 kB / 1.445 GB, free: 12.25 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002162/1.358, allocations: 0.6069 MB / 1.446 GB, free: 11.83 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.36, allocations: 0.8353 MB / 1.447 GB, free: 10.98 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.36, allocations: 0 / 1.447 GB, free: 10.98 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009941/1.361, allocations: 0.5081 MB / 1.447 GB, free: 10.46 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.363, allocations: 299.9 kB / 1.447 GB, free: 10.2 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/1.367, allocations: 1.703 MB / 1.449 GB, free: 8.461 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/1.367, allocations: 1.019 MB / 1.45 GB, free: 7.41 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/1.368, allocations: 111.4 kB / 1.45 GB, free: 7.301 MB / 1.139 GB Notification: Performance of SimCode: time 5.41e-07/1.368, allocations: 0 / 1.45 GB, free: 7.301 MB / 1.139 GB Notification: Performance of Templates: time 0.03174/1.4, allocations: 18.57 MB / 1.468 GB, free: 4.766 MB / 1.154 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.023639183025807]