Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001338/0.001338, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001346/0.001346, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.242 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 2.983/2.983, allocations: 489.3 MB / 0.7687 GB, free: 3.754 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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.91 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007382/1.179, allocations: 4.937 MB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.23/1.409, allocations: 150.6 MB / 1.414 GB, free: 4.793 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/1.411, allocations: 20.75 kB / 1.415 GB, free: 4.785 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007437/1.411, allocations: 197.6 kB / 1.415 GB, free: 4.609 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002533/1.414, allocations: 0.5668 MB / 1.415 GB, free: 4.184 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/1.417, allocations: 0.8499 MB / 1.416 GB, free: 3.535 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00231/1.419, allocations: 1.433 MB / 1.417 GB, free: 2.648 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.42, allocations: 0.5974 MB / 1.418 GB, free: 2.273 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.421, allocations: 499.9 kB / 1.419 GB, free: 1.98 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007756/1.422, allocations: 0.5229 MB / 1.419 GB, free: 1.609 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/1.422, allocations: 117.9 kB / 1.419 GB, free: 1.609 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/1.424, allocations: 486.4 kB / 1.42 GB, free: 1.43 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003545/1.424, allocations: 307.7 kB / 1.42 GB, free: 1.188 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006383/1.425, allocations: 0.5812 MB / 1.42 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/1.427, allocations: 1.668 MB / 1.422 GB, free: 15.56 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1.427, allocations: 3.984 kB / 1.422 GB, free: 15.55 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.475e-06/1.427, allocations: 1.312 kB / 1.422 GB, free: 15.55 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.462e-05/1.427, allocations: 0 / 1.422 GB, free: 15.55 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003072/1.431, allocations: 1.501 MB / 1.424 GB, free: 14.37 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.431, allocations: 9.625 kB / 1.424 GB, free: 14.37 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.432, allocations: 197.2 kB / 1.424 GB, free: 14.27 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.433, allocations: 0.7803 MB / 1.425 GB, free: 13.63 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-05/1.433, allocations: 62.06 kB / 1.425 GB, free: 13.6 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/1.433, allocations: 83.84 kB / 1.425 GB, free: 13.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/1.435, allocations: 0.9513 MB / 1.426 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/1.435, allocations: 1.062 kB / 1.426 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/1.435, allocations: 36.47 kB / 1.426 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/1.435, allocations: 20.62 kB / 1.426 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.437, allocations: 1.129 MB / 1.427 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004693/1.442, allocations: 2.805 MB / 1.43 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.444, allocations: 0.9107 MB / 1.43 GB, free: 9.602 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000636/1.445, allocations: 313.7 kB / 1.431 GB, free: 9.445 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/1.445, allocations: 31.89 kB / 1.431 GB, free: 9.43 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.446, allocations: 0.5227 MB / 1.431 GB, free: 9.094 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 3.055e-06/1.446, allocations: 0 / 1.431 GB, free: 9.094 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003621/1.449, allocations: 1.258 MB / 1.432 GB, free: 8.418 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.449, allocations: 194.5 kB / 1.433 GB, free: 8.191 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009978/1.45, allocations: 0.645 MB / 1.433 GB, free: 7.809 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/1.451, allocations: 44.33 kB / 1.433 GB, free: 7.766 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/1.451, allocations: 415.9 kB / 1.434 GB, free: 7.398 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/1.451, allocations: 281.2 kB / 1.434 GB, free: 7.156 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003114/1.452, allocations: 178 kB / 1.434 GB, free: 7.047 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002312/1.452, allocations: 385.5 kB / 1.435 GB, free: 6.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/1.452, allocations: 277.4 kB / 1.435 GB, free: 6.547 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/1.453, allocations: 385 kB / 1.435 GB, free: 6.316 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.454, allocations: 0.6356 MB / 1.436 GB, free: 5.973 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.454, allocations: 0 / 1.436 GB, free: 5.973 MB / 1.123 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002187/1.457, allocations: 0.8881 MB / 1.437 GB, free: 5.449 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.457, allocations: 7.938 kB / 1.437 GB, free: 5.441 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.457, allocations: 0 / 1.437 GB, free: 5.441 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/1.457, allocations: 92.81 kB / 1.437 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/1.458, allocations: 171.8 kB / 1.437 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.46, allocations: 1.637 MB / 1.439 GB, free: 3.402 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/1.461, allocations: 95.47 kB / 1.439 GB, free: 3.309 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/1.461, allocations: 39.97 kB / 1.439 GB, free: 3.27 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (101): * Single equations (assignments): 100 * 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.0005459/1.462, allocations: 279.7 kB / 1.439 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/1.462, allocations: 87.44 kB / 1.439 GB, free: 2.902 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/1.465, allocations: 1.144 MB / 1.44 GB, free: 1.742 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.465, allocations: 8 kB / 1.44 GB, free: 1.734 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.465, allocations: 0 / 1.44 GB, free: 1.734 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.465, allocations: 7.969 kB / 1.44 GB, free: 1.727 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/1.468, allocations: 2.025 MB / 1.442 GB, free: 15.63 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.468, allocations: 8 kB / 1.442 GB, free: 15.62 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/1.469, allocations: 151.8 kB / 1.442 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/1.469, allocations: 76.72 kB / 1.442 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/1.469, allocations: 31.98 kB / 1.442 GB, free: 15.37 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/1.472, allocations: 1.658 MB / 1.444 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.472, allocations: 4 kB / 1.444 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/1.474, allocations: 1.065 MB / 1.445 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/1.474, allocations: 276.2 kB / 1.445 GB, free: 12.19 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.474, allocations: 27.95 kB / 1.445 GB, free: 12.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/1.475, allocations: 63.92 kB / 1.445 GB, free: 12.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.475, allocations: 76.89 kB / 1.445 GB, free: 12.03 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/1.475, allocations: 35.98 kB / 1.445 GB, free: 11.99 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006668/1.476, allocations: 467 kB / 1.446 GB, free: 11.54 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.476, allocations: 0 / 1.446 GB, free: 11.54 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001053/1.477, allocations: 335.2 kB / 1.446 GB, free: 11.21 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002027/1.479, allocations: 0.6206 MB / 1.447 GB, free: 10.78 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00197/1.481, allocations: 0.8704 MB / 1.448 GB, free: 9.895 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.481, allocations: 0 / 1.448 GB, free: 9.895 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.482, allocations: 0.5511 MB / 1.448 GB, free: 9.336 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.484, allocations: 293.7 kB / 1.449 GB, free: 9.062 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/1.487, allocations: 1.771 MB / 1.45 GB, free: 7.258 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/1.488, allocations: 1.034 MB / 1.451 GB, free: 6.199 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/1.488, allocations: 127.3 kB / 1.451 GB, free: 6.074 MB / 1.139 GB Notification: Performance of SimCode: time 7.11e-07/1.488, allocations: 0 / 1.451 GB, free: 6.074 MB / 1.139 GB Notification: Performance of Templates: time 0.02839/1.516, allocations: 19.09 MB / 1.47 GB, free: 3.035 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: 15.14552701706998]