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.001871/0.001871, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.002327/0.002327, allocations: 157.7 kB / 23.01 MB, free: 4.961 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.55/1.55, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.674/2.674, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 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.00207/0.00207, allocations: 59.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3022, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006643/0.3088, allocations: 4.369 MB / 1.122 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7031/1.012, allocations: 132.7 MB / 1.251 GB, free: 3.391 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/1.013, allocations: 23.28 kB / 1.251 GB, free: 3.379 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008449/1.014, allocations: 199.1 kB / 1.251 GB, free: 3.242 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/1.016, allocations: 0.5604 MB / 1.252 GB, free: 2.922 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/1.018, allocations: 0.8515 MB / 1.253 GB, free: 2.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002106/1.02, allocations: 1.389 MB / 1.254 GB, free: 1.754 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009225/1.021, allocations: 385.1 kB / 1.255 GB, free: 1.527 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/1.022, allocations: 0.4972 MB / 1.255 GB, free: 1.281 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009627/1.023, allocations: 465.1 kB / 1.255 GB, free: 1.062 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003092/1.024, allocations: 115.5 kB / 1.256 GB, free: 1.062 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/1.025, allocations: 490.1 kB / 1.256 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/1.025, allocations: 301 kB / 1.256 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007894/1.026, allocations: 459.8 kB / 1.257 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/1.029, allocations: 1.667 MB / 1.258 GB, free: 15.79 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.029, allocations: 0 / 1.258 GB, free: 15.79 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.834e-06/1.029, allocations: 0 / 1.258 GB, free: 15.79 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.55e-05/1.029, allocations: 0 / 1.258 GB, free: 15.79 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.00389/1.033, allocations: 1.402 MB / 1.26 GB, free: 14.88 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.033, allocations: 9.75 kB / 1.26 GB, free: 14.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/1.035, allocations: 230.6 kB / 1.26 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/1.036, allocations: 0.7085 MB / 1.261 GB, free: 14.36 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/1.036, allocations: 63.73 kB / 1.261 GB, free: 14.33 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.036, allocations: 81.45 kB / 1.261 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/1.039, allocations: 1.154 MB / 1.262 GB, free: 13.58 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.039, allocations: 0.6094 kB / 1.262 GB, free: 13.58 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.039, allocations: 37.48 kB / 1.262 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/1.039, allocations: 20 kB / 1.262 GB, free: 13.55 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/1.041, allocations: 1.055 MB / 1.263 GB, free: 13.3 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.00454/1.045, allocations: 2.07 MB / 1.265 GB, free: 12.08 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/1.047, allocations: 0.7446 MB / 1.266 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/1.048, allocations: 269.8 kB / 1.266 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-05/1.048, allocations: 25.75 kB / 1.266 GB, free: 11.68 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/1.049, allocations: 0.5841 MB / 1.267 GB, free: 11.34 MB / 1.123 GB Notification: Performance of pre-optimization done (n=79): time 3.697e-06/1.049, allocations: 0 / 1.267 GB, free: 11.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=79): time 0.003573/1.052, allocations: 1.113 MB / 1.268 GB, free: 10.94 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.052, allocations: 190.8 kB / 1.268 GB, free: 10.72 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/1.053, allocations: 0.5957 MB / 1.269 GB, free: 10.45 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/1.053, allocations: 42.48 kB / 1.269 GB, free: 10.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/1.054, allocations: 401.9 kB / 1.269 GB, free: 10.09 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/1.054, allocations: 275.9 kB / 1.269 GB, free: 9.875 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/1.054, allocations: 163.7 kB / 1.269 GB, free: 9.797 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002233/1.055, allocations: 378.8 kB / 1.27 GB, free: 9.457 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/1.055, allocations: 263.3 kB / 1.27 GB, free: 9.367 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/1.056, allocations: 488.6 kB / 1.27 GB, free: 9.055 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.057, allocations: 0.598 MB / 1.271 GB, free: 8.773 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.057, allocations: 1.5 kB / 1.271 GB, free: 8.773 MB / 1.123 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002203/1.06, allocations: 0.8495 MB / 1.272 GB, free: 8.426 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.06, allocations: 5.344 kB / 1.272 GB, free: 8.426 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.06, allocations: 1.156 kB / 1.272 GB, free: 8.426 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/1.06, allocations: 80.17 kB / 1.272 GB, free: 8.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/1.061, allocations: 159.6 kB / 1.272 GB, free: 8.395 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/1.063, allocations: 1.501 MB / 1.274 GB, free: 7.023 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008056/1.064, allocations: 91.5 kB / 1.274 GB, free: 6.98 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.064, allocations: 37.83 kB / 1.274 GB, free: 6.973 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.0004855/1.065, allocations: 264 kB / 1.274 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.065, allocations: 82.86 kB / 1.274 GB, free: 6.734 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/1.067, allocations: 1.05 MB / 1.275 GB, free: 6.316 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/1.067, allocations: 10 kB / 1.275 GB, free: 6.316 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.067, allocations: 0 / 1.275 GB, free: 6.316 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.067, allocations: 4.781 kB / 1.275 GB, free: 6.316 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/1.071, allocations: 1.657 MB / 1.277 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.071, allocations: 0.5625 kB / 1.277 GB, free: 5.527 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.072, allocations: 149.1 kB / 1.277 GB, free: 5.508 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/1.072, allocations: 73.23 kB / 1.277 GB, free: 5.488 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/1.072, allocations: 28.77 kB / 1.277 GB, free: 5.473 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/1.074, allocations: 1.525 MB / 1.278 GB, free: 4.09 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.074, allocations: 5.594 kB / 1.278 GB, free: 4.086 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/1.076, allocations: 0.98 MB / 1.279 GB, free: 3.633 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004718/1.077, allocations: 197.8 kB / 1.28 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/1.077, allocations: 18.88 kB / 1.28 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/1.078, allocations: 67.77 kB / 1.28 GB, free: 3.496 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.078, allocations: 82.45 kB / 1.28 GB, free: 3.477 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/1.078, allocations: 32.27 kB / 1.28 GB, free: 3.473 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006289/1.079, allocations: 435.7 kB / 1.28 GB, free: 3.281 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.079, allocations: 0 / 1.28 GB, free: 3.281 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001056/1.08, allocations: 327.6 kB / 1.28 GB, free: 3.191 MB / 1.123 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.002271/1.082, allocations: 0.6364 MB / 1.281 GB, free: 2.949 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.084, allocations: 0.7995 MB / 1.282 GB, free: 2.609 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.084, allocations: 1.25 kB / 1.282 GB, free: 2.609 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.085, allocations: 490.3 kB / 1.282 GB, free: 2.379 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/1.086, allocations: 290.2 kB / 1.283 GB, free: 2.281 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/1.09, allocations: 1.664 MB / 1.284 GB, free: 1.414 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/1.09, allocations: 430.7 kB / 1.285 GB, free: 1.285 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009286/1.091, allocations: 260.8 kB / 1.285 GB, free: 1.207 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/1.092, allocations: 110.6 kB / 1.285 GB, free: 1.184 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/1.092, allocations: 0 / 1.285 GB, free: 1.184 MB / 1.123 GB Notification: Performance of Templates: time 0.02774/1.119, allocations: 15.12 MB / 1.3 GB, free: 11.81 MB / 1.139 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 -s ida -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/jenkins1/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: 9.37044395506382]