Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00202/0.00202, 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.002659/0.002659, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.742/1.742, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.843/2.843, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002169/0.002169, allocations: 66.53 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3413, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.01065/0.3519, allocations: 4.363 MB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.225/0.5769, allocations: 132.7 MB / 1.417 GB, free: 2.379 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.5779, allocations: 23.81 kB / 1.417 GB, free: 2.355 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.5788, allocations: 194.2 kB / 1.417 GB, free: 2.164 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.581, allocations: 0.5709 MB / 1.418 GB, free: 1.594 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.5835, allocations: 0.8586 MB / 1.418 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.5855, allocations: 1.401 MB / 1.42 GB, free: 15.33 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008373/0.5863, allocations: 381.9 kB / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008748/0.5872, allocations: 0.4944 MB / 1.421 GB, free: 14.44 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.588, allocations: 469.7 kB / 1.421 GB, free: 13.98 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.5883, allocations: 116 kB / 1.421 GB, free: 13.86 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.5894, allocations: 483.7 kB / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.5898, allocations: 303 kB / 1.422 GB, free: 13.09 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006543/0.5905, allocations: 457.8 kB / 1.422 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.5931, allocations: 1.669 MB / 1.424 GB, free: 10.97 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5931, allocations: 0 / 1.424 GB, free: 10.97 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5931, allocations: 0 / 1.424 GB, free: 10.97 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.132e-05/0.5932, allocations: 0 / 1.424 GB, free: 10.97 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.003477/0.5967, allocations: 1.407 MB / 1.425 GB, free: 9.527 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5967, allocations: 8.031 kB / 1.425 GB, free: 9.52 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.5983, allocations: 232 kB / 1.426 GB, free: 9.293 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.5999, allocations: 0.7065 MB / 1.426 GB, free: 8.562 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/0.5999, allocations: 65.98 kB / 1.426 GB, free: 8.496 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.6001, allocations: 76 kB / 1.426 GB, free: 8.422 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.602, allocations: 1.154 MB / 1.428 GB, free: 7.168 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.602, allocations: 0 / 1.428 GB, free: 7.168 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.6021, allocations: 32 kB / 1.428 GB, free: 7.137 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.6021, allocations: 20 kB / 1.428 GB, free: 7.117 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.6041, allocations: 1.057 MB / 1.429 GB, free: 6.059 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.6083, allocations: 2.057 MB / 1.431 GB, free: 3.945 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.6099, allocations: 0.7556 MB / 1.431 GB, free: 3.184 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.6105, allocations: 270.7 kB / 1.432 GB, free: 2.914 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-05/0.6106, allocations: 24.64 kB / 1.432 GB, free: 2.891 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009952/0.6116, allocations: 0.5843 MB / 1.432 GB, free: 2.262 MB / 1.123 GB Notification: Performance of pre-optimization done (n=79): time 2.695e-06/0.6116, allocations: 3.938 kB / 1.432 GB, free: 2.258 MB / 1.123 GB Notification: Performance of matching and sorting (n=79): time 0.00336/0.6149, allocations: 1.107 MB / 1.433 GB, free: 1.145 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.6151, allocations: 200.6 kB / 1.434 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.616, allocations: 0.5901 MB / 1.434 GB, free: 312 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.6161, allocations: 41.7 kB / 1.434 GB, free: 264 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.6166, allocations: 405.2 kB / 1.435 GB, free: 15.85 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.6168, allocations: 273.7 kB / 1.435 GB, free: 15.58 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.6171, allocations: 158.6 kB / 1.435 GB, free: 15.42 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002365/0.6174, allocations: 382.8 kB / 1.435 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.618, allocations: 261.9 kB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.6187, allocations: 483.6 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.62, allocations: 0.6109 MB / 1.437 GB, free: 13.65 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.62, allocations: 4 kB / 1.437 GB, free: 13.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002165/0.6222, allocations: 0.8414 MB / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6222, allocations: 4 kB / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6222, allocations: 4 kB / 1.437 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.6228, allocations: 80.88 kB / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.6235, allocations: 159.8 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.6259, allocations: 1.504 MB / 1.439 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008193/0.6267, allocations: 79.69 kB / 1.439 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.6268, allocations: 35.97 kB / 1.439 GB, free: 10.82 MB / 1.139 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.0005978/0.6274, allocations: 263.4 kB / 1.44 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.6277, allocations: 87.42 kB / 1.44 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.6305, allocations: 1.049 MB / 1.441 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.6305, allocations: 8 kB / 1.441 GB, free: 9.395 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6305, allocations: 0 / 1.441 GB, free: 9.395 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.6305, allocations: 7.984 kB / 1.441 GB, free: 9.387 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.6343, allocations: 1.669 MB / 1.442 GB, free: 7.676 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6343, allocations: 3.938 kB / 1.442 GB, free: 7.672 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.6349, allocations: 139.8 kB / 1.442 GB, free: 7.535 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.6354, allocations: 76.72 kB / 1.442 GB, free: 7.457 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/0.6355, allocations: 27.92 kB / 1.442 GB, free: 7.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.6377, allocations: 1.528 MB / 1.444 GB, free: 5.793 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6377, allocations: 0 / 1.444 GB, free: 5.793 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.64, allocations: 0.9829 MB / 1.445 GB, free: 4.789 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.6406, allocations: 195.1 kB / 1.445 GB, free: 4.598 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.6408, allocations: 23.95 kB / 1.445 GB, free: 4.574 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.6415, allocations: 69.58 kB / 1.445 GB, free: 4.508 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.6416, allocations: 72.8 kB / 1.445 GB, free: 4.438 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.188e-05/0.6417, allocations: 35.98 kB / 1.445 GB, free: 4.402 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006731/0.6424, allocations: 431 kB / 1.446 GB, free: 3.988 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6424, allocations: 0 / 1.446 GB, free: 3.988 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001061/0.6434, allocations: 331.2 kB / 1.446 GB, free: 3.664 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.002391/0.6458, allocations: 0.6371 MB / 1.447 GB, free: 3.23 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.6478, allocations: 0.7884 MB / 1.447 GB, free: 2.43 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6479, allocations: 4 kB / 1.447 GB, free: 2.426 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.6489, allocations: 496.2 kB / 1.448 GB, free: 1.926 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.6503, allocations: 291.9 kB / 1.448 GB, free: 1.664 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.654, allocations: 1.652 MB / 1.45 GB, free: 15.98 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.6546, allocations: 437.2 kB / 1.45 GB, free: 15.53 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009545/0.6556, allocations: 254.3 kB / 1.45 GB, free: 15.27 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.6559, allocations: 103.4 kB / 1.451 GB, free: 15.17 MB / 1.154 GB Notification: Performance of SimCode: time 6.91e-07/0.6559, allocations: 4 kB / 1.451 GB, free: 15.17 MB / 1.154 GB Notification: Performance of Templates: time 0.03024/0.6861, allocations: 16.09 MB / 1.466 GB, free: 15.35 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.165097862482071]