Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001515/0.001515, allocations: 115.5 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.00168/0.001681, allocations: 194.2 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.539/1.539, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.045/3.045, 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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 67.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00656/1.061, allocations: 4.787 MB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2144/1.275, allocations: 150.6 MB / 1.414 GB, free: 4.93 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.277, allocations: 14.44 kB / 1.414 GB, free: 4.926 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007478/1.277, allocations: 190.5 kB / 1.414 GB, free: 4.758 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/1.28, allocations: 0.5373 MB / 1.415 GB, free: 4.355 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/1.283, allocations: 0.8337 MB / 1.416 GB, free: 3.723 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002221/1.285, allocations: 1.364 MB / 1.417 GB, free: 2.875 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/1.286, allocations: 0.5817 MB / 1.418 GB, free: 2.512 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009668/1.287, allocations: 479.7 kB / 1.418 GB, free: 2.227 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008221/1.288, allocations: 496 kB / 1.419 GB, free: 1.883 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/1.288, allocations: 121.2 kB / 1.419 GB, free: 1.875 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/1.289, allocations: 485.3 kB / 1.419 GB, free: 1.691 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003571/1.29, allocations: 292.9 kB / 1.42 GB, free: 1.461 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000813/1.291, allocations: 0.5415 MB / 1.42 GB, free: 1.062 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/1.294, allocations: 1.614 MB / 1.422 GB, free: 15.9 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.294, allocations: 0 / 1.422 GB, free: 15.9 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.914e-06/1.294, allocations: 0 / 1.422 GB, free: 15.9 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.344e-05/1.294, allocations: 0 / 1.422 GB, free: 15.9 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00317/1.297, allocations: 1.454 MB / 1.423 GB, free: 14.75 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.297, allocations: 9.969 kB / 1.423 GB, free: 14.75 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/1.298, allocations: 187.1 kB / 1.423 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.299, allocations: 0.7588 MB / 1.424 GB, free: 14.03 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/1.299, allocations: 63.09 kB / 1.424 GB, free: 14 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/1.299, allocations: 77.28 kB / 1.424 GB, free: 13.98 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.301, allocations: 0.9058 MB / 1.425 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.301, allocations: 5.094 kB / 1.425 GB, free: 13.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/1.301, allocations: 36.38 kB / 1.425 GB, free: 13.36 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/1.301, allocations: 20.09 kB / 1.425 GB, free: 13.36 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/1.303, allocations: 1.096 MB / 1.426 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/1.308, allocations: 2.712 MB / 1.429 GB, free: 10.63 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/1.31, allocations: 0.8643 MB / 1.43 GB, free: 10.14 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/1.31, allocations: 295.2 kB / 1.43 GB, free: 9.988 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-05/1.31, allocations: 35.03 kB / 1.43 GB, free: 9.969 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009404/1.311, allocations: 495.7 kB / 1.43 GB, free: 9.652 MB / 1.123 GB Notification: Performance of pre-optimization done (n=79): time 2.956e-06/1.311, allocations: 0 / 1.43 GB, free: 9.652 MB / 1.123 GB Notification: Performance of matching and sorting (n=79): time 0.003733/1.315, allocations: 1.18 MB / 1.432 GB, free: 9.016 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/1.315, allocations: 194.2 kB / 1.432 GB, free: 8.793 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.316, allocations: 0.619 MB / 1.432 GB, free: 8.43 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/1.317, allocations: 43.45 kB / 1.432 GB, free: 8.387 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/1.317, allocations: 398.8 kB / 1.433 GB, free: 8.035 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/1.317, allocations: 274.9 kB / 1.433 GB, free: 7.797 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/1.318, allocations: 157.9 kB / 1.433 GB, free: 7.703 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002225/1.318, allocations: 389.4 kB / 1.434 GB, free: 7.332 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/1.318, allocations: 261.6 kB / 1.434 GB, free: 7.207 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/1.319, allocations: 369.3 kB / 1.434 GB, free: 6.988 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.32, allocations: 0.5914 MB / 1.435 GB, free: 6.672 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.32, allocations: 7.938 kB / 1.435 GB, free: 6.664 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002211/1.323, allocations: 0.8406 MB / 1.436 GB, free: 6.234 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.323, allocations: 5.031 kB / 1.436 GB, free: 6.234 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.323, allocations: 1.156 kB / 1.436 GB, free: 6.234 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/1.323, allocations: 84.48 kB / 1.436 GB, free: 6.191 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/1.324, allocations: 162 kB / 1.436 GB, free: 6.148 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/1.326, allocations: 1.634 MB / 1.437 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009812/1.327, allocations: 83.52 kB / 1.437 GB, free: 4.461 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/1.327, allocations: 36.03 kB / 1.438 GB, free: 4.426 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.0006217/1.328, allocations: 279.4 kB / 1.438 GB, free: 4.141 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/1.328, allocations: 87.44 kB / 1.438 GB, free: 4.055 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/1.331, allocations: 1.042 MB / 1.439 GB, free: 2.992 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.331, allocations: 8 kB / 1.439 GB, free: 2.984 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.331, allocations: 0 / 1.439 GB, free: 2.984 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/1.331, allocations: 7.922 kB / 1.439 GB, free: 2.977 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/1.335, allocations: 1.919 MB / 1.441 GB, free: 1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.335, allocations: 0 / 1.441 GB, free: 1 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005921/1.335, allocations: 143.7 kB / 1.441 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/1.336, allocations: 76.78 kB / 1.441 GB, free: 0.7812 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/1.336, allocations: 19.98 kB / 1.441 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/1.338, allocations: 1.666 MB / 1.443 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.338, allocations: 0 / 1.443 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/1.34, allocations: 0.9867 MB / 1.444 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/1.341, allocations: 272.3 kB / 1.444 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.341, allocations: 23.98 kB / 1.444 GB, free: 13.63 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/1.342, allocations: 67.92 kB / 1.444 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.342, allocations: 64.91 kB / 1.444 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.08e-05/1.342, allocations: 39.97 kB / 1.444 GB, free: 13.46 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006509/1.343, allocations: 447 kB / 1.444 GB, free: 13.03 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.41e-07/1.343, allocations: 0 / 1.444 GB, free: 13.03 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001084/1.344, allocations: 323.2 kB / 1.445 GB, free: 12.71 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.002023/1.346, allocations: 0.6159 MB / 1.445 GB, free: 12.29 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001948/1.348, allocations: 0.8156 MB / 1.446 GB, free: 11.46 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.348, allocations: 4.188 kB / 1.446 GB, free: 11.46 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.349, allocations: 0.5196 MB / 1.447 GB, free: 10.93 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.35, allocations: 300.2 kB / 1.447 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/1.354, allocations: 1.671 MB / 1.449 GB, free: 8.953 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/1.354, allocations: 1.015 MB / 1.45 GB, free: 7.91 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/1.355, allocations: 119.4 kB / 1.45 GB, free: 7.793 MB / 1.139 GB Notification: Performance of SimCode: time 7.11e-07/1.355, allocations: 0 / 1.45 GB, free: 7.793 MB / 1.139 GB Notification: Performance of Templates: time 0.03013/1.385, allocations: 18.31 MB / 1.468 GB, free: 5.52 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.097253208048642]