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.001345/0.001345, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001552/0.001552, allocations: 214.4 kB / 22.25 MB, free: 5.258 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.793 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.347/3.347, allocations: 0.4892 GB / 0.7943 GB, free: 35.74 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.002205/0.002205, allocations: 71.05 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3896, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006853/0.3964, allocations: 4.348 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1925/0.5889, allocations: 132.7 MB / 1.459 GB, free: 8.332 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.5903, allocations: 23.81 kB / 1.459 GB, free: 8.309 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.5915, allocations: 202.2 kB / 1.46 GB, free: 8.109 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.5943, allocations: 0.5499 MB / 1.46 GB, free: 7.559 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.5971, allocations: 0.8615 MB / 1.461 GB, free: 6.703 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.5996, allocations: 1.382 MB / 1.462 GB, free: 5.316 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.6007, allocations: 393.8 kB / 1.463 GB, free: 4.906 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.6019, allocations: 0.4944 MB / 1.463 GB, free: 4.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.603, allocations: 453.8 kB / 1.464 GB, free: 3.965 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.6034, allocations: 116 kB / 1.464 GB, free: 3.852 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.6048, allocations: 499.6 kB / 1.464 GB, free: 3.363 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.6053, allocations: 295 kB / 1.464 GB, free: 3.074 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.6061, allocations: 453.8 kB / 1.465 GB, free: 2.629 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.609, allocations: 1.673 MB / 1.467 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6091, allocations: 4 kB / 1.467 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6091, allocations: 0 / 1.467 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.289e-05/0.6091, allocations: 0 / 1.467 GB, free: 0.9453 MB / 1.154 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.003453/0.6126, allocations: 1.399 MB / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.6126, allocations: 12.03 kB / 1.468 GB, free: 15.5 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.6141, allocations: 228 kB / 1.468 GB, free: 15.28 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.6156, allocations: 0.7104 MB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.6157, allocations: 58 kB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.6158, allocations: 80 kB / 1.469 GB, free: 14.4 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.6177, allocations: 1.161 MB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6177, allocations: 4 kB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/0.6178, allocations: 40 kB / 1.47 GB, free: 13.1 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.6178, allocations: 20 kB / 1.47 GB, free: 13.08 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.6197, allocations: 1.05 MB / 1.471 GB, free: 12.02 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/0.6237, allocations: 2.065 MB / 1.473 GB, free: 9.906 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.6252, allocations: 0.7468 MB / 1.474 GB, free: 9.152 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.6257, allocations: 272.9 kB / 1.474 GB, free: 8.887 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.996e-05/0.6258, allocations: 24.62 kB / 1.474 GB, free: 8.863 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.6268, allocations: 0.5839 MB / 1.475 GB, free: 8.234 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 3.537e-06/0.6268, allocations: 3.938 kB / 1.475 GB, free: 8.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003343/0.6301, allocations: 1.113 MB / 1.476 GB, free: 7.109 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.6302, allocations: 192.6 kB / 1.476 GB, free: 6.879 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.6311, allocations: 0.5978 MB / 1.477 GB, free: 6.273 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.6311, allocations: 41.7 kB / 1.477 GB, free: 6.227 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.6315, allocations: 397 kB / 1.477 GB, free: 5.832 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.6318, allocations: 269.7 kB / 1.477 GB, free: 5.566 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.632, allocations: 162.6 kB / 1.477 GB, free: 5.402 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.6322, allocations: 382.8 kB / 1.478 GB, free: 5.02 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.6327, allocations: 269.8 kB / 1.478 GB, free: 4.754 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.6334, allocations: 491.6 kB / 1.479 GB, free: 4.23 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6345, allocations: 0.5955 MB / 1.479 GB, free: 3.621 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.6346, allocations: 3.984 kB / 1.479 GB, free: 3.617 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001966/0.6365, allocations: 0.8375 MB / 1.48 GB, free: 2.77 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.6365, allocations: 5.875 kB / 1.48 GB, free: 2.766 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6366, allocations: 7.984 kB / 1.48 GB, free: 2.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.6372, allocations: 76.88 kB / 1.48 GB, free: 2.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.6378, allocations: 163.7 kB / 1.48 GB, free: 2.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.6403, allocations: 1.512 MB / 1.482 GB, free: 0.8984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.641, allocations: 79.58 kB / 1.482 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.6411, allocations: 39.97 kB / 1.482 GB, free: 0.7812 MB / 1.17 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.0005063/0.6416, allocations: 269 kB / 1.482 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.6418, allocations: 91.42 kB / 1.482 GB, free: 428 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.6443, allocations: 1.042 MB / 1.483 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6443, allocations: 19.94 kB / 1.483 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6443, allocations: 0 / 1.483 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6443, allocations: 3.984 kB / 1.483 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.6475, allocations: 1.654 MB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6475, allocations: 0 / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.6481, allocations: 143.8 kB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/0.6486, allocations: 68.73 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.6486, allocations: 39.91 kB / 1.485 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.6506, allocations: 1.52 MB / 1.486 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6506, allocations: 0 / 1.486 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6527, allocations: 0.9945 MB / 1.487 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/0.6531, allocations: 199.1 kB / 1.488 GB, free: 10.56 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6532, allocations: 16 kB / 1.488 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.6539, allocations: 63.88 kB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.654, allocations: 76.86 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.6541, allocations: 31.97 kB / 1.488 GB, free: 10.37 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005963/0.6547, allocations: 439 kB / 1.488 GB, free: 9.949 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6547, allocations: 0 / 1.488 GB, free: 9.949 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009543/0.6557, allocations: 327.1 kB / 1.489 GB, free: 9.629 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.002165/0.6578, allocations: 0.6439 MB / 1.489 GB, free: 9.188 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.6597, allocations: 0.7846 MB / 1.49 GB, free: 8.395 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6597, allocations: 4 kB / 1.49 GB, free: 8.391 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009523/0.6606, allocations: 488.2 kB / 1.49 GB, free: 7.902 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.6619, allocations: 290.1 kB / 1.491 GB, free: 7.645 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.6655, allocations: 1.674 MB / 1.492 GB, free: 5.934 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.666, allocations: 427.4 kB / 1.493 GB, free: 5.484 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008616/0.6669, allocations: 258.3 kB / 1.493 GB, free: 5.227 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.6672, allocations: 107.3 kB / 1.493 GB, free: 5.121 MB / 1.186 GB Notification: Performance of SimCode: time 1.383e-06/0.6672, allocations: 0 / 1.493 GB, free: 5.121 MB / 1.186 GB Notification: Performance of Templates: time 0.0289/0.6961, allocations: 16.09 MB / 1.509 GB, free: 5.293 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 -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/jenkins/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: 10.253182793036103]