Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.00135/0.00135, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002207/0.002207, allocations: 209.5 kB / 22.99 MB, free: 4.957 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.232/3.232, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.59 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3505, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006909/0.3574, allocations: 4.371 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1822/0.5396, allocations: 132.7 MB / 1.461 GB, free: 7.449 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009933/0.5406, allocations: 23.81 kB / 1.461 GB, free: 7.426 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.5413, allocations: 198.2 kB / 1.461 GB, free: 7.23 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.5433, allocations: 0.5651 MB / 1.462 GB, free: 6.668 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.5454, allocations: 0.8568 MB / 1.462 GB, free: 5.816 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.5471, allocations: 1.382 MB / 1.464 GB, free: 4.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000802/0.5479, allocations: 405.9 kB / 1.464 GB, free: 4.008 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.5488, allocations: 0.4983 MB / 1.465 GB, free: 3.508 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.5494, allocations: 0.4979 MB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.5496, allocations: 119.9 kB / 1.465 GB, free: 2.891 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.5506, allocations: 0.4996 MB / 1.466 GB, free: 2.391 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.5509, allocations: 291 kB / 1.466 GB, free: 2.105 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004706/0.5514, allocations: 461.8 kB / 1.467 GB, free: 1.652 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.5539, allocations: 1.669 MB / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.5539, allocations: 0 / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.366e-06/0.5539, allocations: 0 / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.44e-05/0.5539, allocations: 0 / 1.468 GB, free: 15.98 MB / 1.17 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.003312/0.5572, allocations: 1.403 MB / 1.47 GB, free: 14.54 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5573, allocations: 8.031 kB / 1.47 GB, free: 14.53 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.5589, allocations: 232 kB / 1.47 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.5604, allocations: 0.7104 MB / 1.47 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/0.5605, allocations: 77.88 kB / 1.471 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.5607, allocations: 80 kB / 1.471 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.5627, allocations: 1.154 MB / 1.472 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.5627, allocations: 4 kB / 1.472 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.5628, allocations: 32 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.5628, allocations: 20 kB / 1.472 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.5647, allocations: 1.05 MB / 1.473 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/0.5687, allocations: 2.065 MB / 1.475 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.5703, allocations: 0.7506 MB / 1.476 GB, free: 8.172 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.5708, allocations: 278.7 kB / 1.476 GB, free: 7.898 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/0.5709, allocations: 16.64 kB / 1.476 GB, free: 7.883 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009705/0.5718, allocations: 0.5878 MB / 1.476 GB, free: 7.25 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 3.026e-06/0.5718, allocations: 0 / 1.476 GB, free: 7.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003399/0.5752, allocations: 1.109 MB / 1.477 GB, free: 6.133 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.5754, allocations: 188.6 kB / 1.478 GB, free: 5.906 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/0.5762, allocations: 0.5939 MB / 1.478 GB, free: 5.305 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.5763, allocations: 41.7 kB / 1.478 GB, free: 5.258 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.5767, allocations: 408.9 kB / 1.479 GB, free: 4.852 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.5769, allocations: 265.7 kB / 1.479 GB, free: 4.59 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.5772, allocations: 166.6 kB / 1.479 GB, free: 4.422 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.5774, allocations: 386.8 kB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.5779, allocations: 261.9 kB / 1.48 GB, free: 3.777 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.5787, allocations: 487.6 kB / 1.48 GB, free: 3.258 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.5798, allocations: 0.5994 MB / 1.481 GB, free: 2.645 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5798, allocations: 0 / 1.481 GB, free: 2.645 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002081/0.5819, allocations: 0.8414 MB / 1.482 GB, free: 1.793 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.5819, allocations: 8 kB / 1.482 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5819, allocations: 0 / 1.482 GB, free: 1.785 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/0.5826, allocations: 88.8 kB / 1.482 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.5833, allocations: 155.8 kB / 1.482 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.5856, allocations: 1.5 MB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000776/0.5864, allocations: 95.56 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.5865, allocations: 40.03 kB / 1.483 GB, free: 15.8 MB / 1.186 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.0005443/0.587, allocations: 269.7 kB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.5872, allocations: 83.42 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.5897, allocations: 1.038 MB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5897, allocations: 15.98 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5897, allocations: 3.938 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.5897, allocations: 3.984 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.593, allocations: 1.658 MB / 1.486 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.593, allocations: 0 / 1.486 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.5936, allocations: 139.8 kB / 1.487 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/0.5941, allocations: 84.7 kB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.5942, allocations: 23.98 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.5962, allocations: 1.524 MB / 1.488 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5962, allocations: 0 / 1.488 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.5984, allocations: 0.9867 MB / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/0.5989, allocations: 191.1 kB / 1.489 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.5991, allocations: 27.92 kB / 1.489 GB, free: 9.574 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.5997, allocations: 69.91 kB / 1.489 GB, free: 9.508 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5999, allocations: 72.86 kB / 1.489 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.6, allocations: 31.98 kB / 1.489 GB, free: 9.402 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006087/0.6006, allocations: 435 kB / 1.49 GB, free: 8.984 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6006, allocations: 0 / 1.49 GB, free: 8.984 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009903/0.6016, allocations: 323.2 kB / 1.49 GB, free: 8.668 MB / 1.186 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.002237/0.6038, allocations: 0.6476 MB / 1.491 GB, free: 8.223 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.6056, allocations: 0.7921 MB / 1.492 GB, free: 7.422 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6056, allocations: 3.938 kB / 1.492 GB, free: 7.418 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009653/0.6066, allocations: 496.4 kB / 1.492 GB, free: 6.918 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6079, allocations: 298.4 kB / 1.492 GB, free: 6.648 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.6112, allocations: 1.645 MB / 1.494 GB, free: 4.969 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.6117, allocations: 440.9 kB / 1.494 GB, free: 4.508 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009241/0.6127, allocations: 258.3 kB / 1.495 GB, free: 4.25 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.6129, allocations: 99.39 kB / 1.495 GB, free: 4.152 MB / 1.186 GB Notification: Performance of SimCode: time 9.31e-07/0.6129, allocations: 4 kB / 1.495 GB, free: 4.148 MB / 1.186 GB Notification: Performance of Templates: time 0.02905/0.642, allocations: 16.32 MB / 1.511 GB, free: 4.094 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.84412528500252]