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.001938/0.001938, 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.001931/0.001931, 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.002069/0.002069, allocations: 74.23 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.008646/0.3395, allocations: 4.367 MB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.5116, allocations: 132.7 MB / 1.461 GB, free: 7.426 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008361/0.5124, allocations: 23.81 kB / 1.461 GB, free: 7.402 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.5132, allocations: 198.2 kB / 1.461 GB, free: 7.207 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.5154, allocations: 0.5514 MB / 1.462 GB, free: 6.656 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.5176, allocations: 0.8604 MB / 1.462 GB, free: 5.801 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.5195, allocations: 1.382 MB / 1.464 GB, free: 4.414 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007763/0.5202, allocations: 417.7 kB / 1.464 GB, free: 3.98 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007205/0.521, allocations: 0.5022 MB / 1.465 GB, free: 3.477 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006207/0.5216, allocations: 0.4901 MB / 1.465 GB, free: 2.984 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.5218, allocations: 116 kB / 1.465 GB, free: 2.871 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009911/0.5228, allocations: 0.5035 MB / 1.466 GB, free: 2.367 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.523, allocations: 287.1 kB / 1.466 GB, free: 2.086 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004624/0.5235, allocations: 461.8 kB / 1.467 GB, free: 1.633 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.5255, allocations: 1.666 MB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5255, allocations: 0 / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5255, allocations: 3.938 kB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5256, allocations: 4 kB / 1.468 GB, free: 15.95 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.002749/0.5283, allocations: 1.4 MB / 1.47 GB, free: 14.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.5283, allocations: 11.97 kB / 1.47 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.5299, allocations: 232 kB / 1.47 GB, free: 14.28 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.5313, allocations: 0.7066 MB / 1.47 GB, free: 13.55 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/0.5313, allocations: 66 kB / 1.47 GB, free: 13.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5315, allocations: 76 kB / 1.471 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.5333, allocations: 1.161 MB / 1.472 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.5333, allocations: 4 kB / 1.472 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.5334, allocations: 36 kB / 1.472 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.5334, allocations: 24 kB / 1.472 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.5353, allocations: 1.05 MB / 1.473 GB, free: 11.03 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.5392, allocations: 2.064 MB / 1.475 GB, free: 8.914 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.5407, allocations: 0.7546 MB / 1.476 GB, free: 8.152 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.5413, allocations: 270.7 kB / 1.476 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.5413, allocations: 24.62 kB / 1.476 GB, free: 7.863 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009826/0.5423, allocations: 0.5761 MB / 1.476 GB, free: 7.242 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 4.86e-06/0.5423, allocations: 4 kB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003545/0.5459, allocations: 1.109 MB / 1.477 GB, free: 6.121 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.546, allocations: 196.6 kB / 1.478 GB, free: 5.887 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008228/0.5468, allocations: 0.5978 MB / 1.478 GB, free: 5.281 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.349e-05/0.5469, allocations: 41.7 kB / 1.478 GB, free: 5.234 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.5472, allocations: 397 kB / 1.479 GB, free: 4.84 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.5475, allocations: 269.7 kB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.5478, allocations: 158.6 kB / 1.479 GB, free: 4.414 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.548, allocations: 394.6 kB / 1.479 GB, free: 4.02 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.5486, allocations: 261.9 kB / 1.48 GB, free: 3.762 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007487/0.5493, allocations: 495.5 kB / 1.48 GB, free: 3.234 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.5505, allocations: 0.5994 MB / 1.481 GB, free: 2.621 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.5505, allocations: 0 / 1.481 GB, free: 2.621 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002194/0.5527, allocations: 0.8375 MB / 1.482 GB, free: 1.773 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.5527, allocations: 9.562 kB / 1.482 GB, free: 1.766 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5527, allocations: 0 / 1.482 GB, free: 1.766 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007403/0.5535, allocations: 84.86 kB / 1.482 GB, free: 1.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.5542, allocations: 163.7 kB / 1.482 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.5565, allocations: 1.504 MB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.5573, allocations: 87.64 kB / 1.483 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.5574, allocations: 35.97 kB / 1.483 GB, free: 15.79 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.0005053/0.5579, allocations: 265.7 kB / 1.484 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5581, allocations: 83.42 kB / 1.484 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.5607, allocations: 1.042 MB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.5607, allocations: 12 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5607, allocations: 0 / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5607, allocations: 11.92 kB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.5641, allocations: 1.654 MB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5641, allocations: 7.938 kB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/0.5647, allocations: 139.8 kB / 1.487 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005095/0.5652, allocations: 76.72 kB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.5653, allocations: 27.97 kB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.5674, allocations: 1.528 MB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5674, allocations: 0 / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.5696, allocations: 0.9906 MB / 1.489 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.57, allocations: 195.1 kB / 1.489 GB, free: 9.574 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.5702, allocations: 19.94 kB / 1.489 GB, free: 9.555 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.5709, allocations: 63.88 kB / 1.489 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.571, allocations: 72.86 kB / 1.489 GB, free: 9.418 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.5711, allocations: 39.91 kB / 1.489 GB, free: 9.379 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005947/0.5717, allocations: 439 kB / 1.49 GB, free: 8.957 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5717, allocations: 4 kB / 1.49 GB, free: 8.953 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001051/0.5728, allocations: 319.2 kB / 1.49 GB, free: 8.641 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.002147/0.5749, allocations: 0.6391 MB / 1.491 GB, free: 8.203 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.5767, allocations: 0.7884 MB / 1.492 GB, free: 7.406 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5767, allocations: 4 kB / 1.492 GB, free: 7.402 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.5777, allocations: 492.2 kB / 1.492 GB, free: 6.906 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5789, allocations: 300.5 kB / 1.492 GB, free: 6.633 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.5822, allocations: 1.649 MB / 1.494 GB, free: 4.949 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.5826, allocations: 432.9 kB / 1.494 GB, free: 4.496 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007772/0.5834, allocations: 258.2 kB / 1.495 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.5837, allocations: 111.3 kB / 1.495 GB, free: 4.129 MB / 1.186 GB Notification: Performance of SimCode: time 7.92e-07/0.5837, allocations: 0 / 1.495 GB, free: 4.129 MB / 1.186 GB Notification: Performance of Templates: time 0.02796/0.6116, allocations: 16.32 MB / 1.511 GB, free: 4.074 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 gbode -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.547536073005176]